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

Thanks to Vyacheslav Egorov.
This commit is contained in:
Mike Pall 2016-04-13 16:10:03 +02:00
parent ac9193cfeb
commit 096a7cf4e4

View File

@ -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