From e243ae4b43ab10877b1f217616f5cd159dda2eb3 Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Tue, 2 Jul 2024 09:36:52 +0200 Subject: [PATCH] Fix read map when nentries < 128 but maxentries >= 128 --- hld/Eval.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hld/Eval.hx b/hld/Eval.hx index b77dc7e..a24c348 100644 --- a/hld/Eval.hx +++ b/hld/Eval.hx @@ -1185,7 +1185,7 @@ class Eval { throw "Unsupported map " + tkey.toString(); } - var isSmall = isV13 && nentries < 128; + var isSmall = isV13 && maxEntries < 128; var content : Array<{ key : Value, value : Value }> = []; var curCell = 0;