Browse Source

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

Thanks to Vyacheslav Egorov.
Mike Pall 9 years ago
parent
commit
096a7cf4e4
1 changed files with 1 additions and 1 deletions
  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