aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2018-06-24 13:18:03 +0200
committerMike Pall <mike>2018-06-24 13:18:03 +0200
commitc785131ca5a6d24adc519e5e0bf1b69b671d912f (patch)
tree2d6da85a430cfcde71a0a077348b722029afdc1d /src
parentc3c54ce1aef782823936808a75460e6b53aada2c (diff)
downloadluajit-c785131ca5a6d24adc519e5e0bf1b69b671d912f.tar.gz
luajit-c785131ca5a6d24adc519e5e0bf1b69b671d912f.tar.bz2
luajit-c785131ca5a6d24adc519e5e0bf1b69b671d912f.zip
ARM64: Fix write barrier in BC_USETS.
Contributed by Javier Guerra Giraldez.
Diffstat (limited to 'src')
-rw-r--r--src/vm_arm64.dasc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc
index c55794a6..fb226e35 100644
--- a/src/vm_arm64.dasc
+++ b/src/vm_arm64.dasc
@@ -2780,7 +2780,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
2780 |2: // Check if string is white and ensure upvalue is closed. 2780 |2: // Check if string is white and ensure upvalue is closed.
2781 | ldrb TMP0w, UPVAL:CARG1->closed 2781 | ldrb TMP0w, UPVAL:CARG1->closed
2782 | tst TMP1w, #LJ_GC_WHITES // iswhite(str) 2782 | tst TMP1w, #LJ_GC_WHITES // iswhite(str)
2783 | ccmp TMP0w, #0, #0, ne 2783 | ccmp TMP0w, #0, #4, ne
2784 | beq <1 2784 | beq <1
2785 | // Crossed a write barrier. Move the barrier forward. 2785 | // Crossed a write barrier. Move the barrier forward.
2786 | mov CARG1, GL 2786 | mov CARG1, GL