mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
ARM64: Fix write barrier in BC_USETS.
Contributed by Javier Guerra Giraldez.
This commit is contained in:
parent
c3c54ce1ae
commit
c785131ca5
@ -2780,7 +2780,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
|||||||
|2: // Check if string is white and ensure upvalue is closed.
|
|2: // Check if string is white and ensure upvalue is closed.
|
||||||
| ldrb TMP0w, UPVAL:CARG1->closed
|
| ldrb TMP0w, UPVAL:CARG1->closed
|
||||||
| tst TMP1w, #LJ_GC_WHITES // iswhite(str)
|
| tst TMP1w, #LJ_GC_WHITES // iswhite(str)
|
||||||
| ccmp TMP0w, #0, #0, ne
|
| ccmp TMP0w, #0, #4, ne
|
||||||
| beq <1
|
| beq <1
|
||||||
| // Crossed a write barrier. Move the barrier forward.
|
| // Crossed a write barrier. Move the barrier forward.
|
||||||
| mov CARG1, GL
|
| mov CARG1, GL
|
||||||
|
Loading…
Reference in New Issue
Block a user