瀏覽代碼

x64/LJ_GC64: Fix BC_UCLO check for fast-path.

Thanks to Vyacheslav Egorov.
Mike Pall 9 年之前
父節點
當前提交
096a7cf4e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/vm_x64.dasc

+ 1 - 1
src/vm_x64.dasc

@@ -3516,7 +3516,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
     |  ins_AD	// RA = level, RD = target
     |  branchPC RD			// Do this first to free RD.
     |  mov L:RB, SAVE_L
-    |  cmp dword L:RB->openupval, 0
+    |  cmp aword L:RB->openupval, 0
     |  je >1
     |  mov L:RB->base, BASE
     |  lea CARG2, [BASE+RA*8]		// Caveat: CARG2 == BASE