x64: Fix store to upvalue for lightuserdata values.
This commit is contained in:
@@ -3217,7 +3217,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
||||
| ins_next
|
||||
|
|
||||
|2: // Check if new value is collectable.
|
||||
| cmn RB, #-(LJ_TISNUM - LJ_TISGCV)
|
||||
| cmn RB, #-(LJ_TNUMX - LJ_TISGCV)
|
||||
| ldrbhi RC, GCOBJ:CARG3->gch.marked
|
||||
| bls <1 // tvisgcv(v)
|
||||
| sub CARG1, DISPATCH, #-GG_DISP2G
|
||||
|
||||
Reference in New Issue
Block a user