diff options
author | Mike Pall <mike> | 2013-12-02 09:18:01 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2013-12-02 09:18:01 +0100 |
commit | 916f09d0a91155ce5ce1a78fdcd40ba42f61e493 (patch) | |
tree | fb1d9052c585c148cddb78ecbb6297f3fd24db0c /src/vm_x86.dasc | |
parent | f371ed6bd8741834b4b0278cf2c9e95e32f2cb26 (diff) | |
download | luajit2-916f09d0a91155ce5ce1a78fdcd40ba42f61e493.tar.gz |
x64: Fix store to upvalue for lightuserdata values.
Diffstat (limited to 'src/vm_x86.dasc')
-rw-r--r-- | src/vm_x86.dasc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index f25dfd30..13f4cdaa 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc @@ -4652,7 +4652,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop) | |2: // Upvalue is black. Check if new value is collectable and white. | sub RD, LJ_TISGCV - | cmp RD, LJ_TISNUM - LJ_TISGCV // tvisgcv(v) + | cmp RD, LJ_TNUMX - LJ_TISGCV // tvisgcv(v) | jbe <1 | test byte GCOBJ:RA->gch.marked, LJ_GC_WHITES // iswhite(v) | jz <1 |