mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
fcae87e315
@ -543,7 +543,6 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
|1:
|
||||
| beq ->cont_ffi_callback // cont = 1: return from FFI callback.
|
||||
| // cont = 0: tailcall from C function.
|
||||
| ldr CARG3, [BASE, FRAME_FUNC]
|
||||
| sub CARG4, CARG4, #16
|
||||
| sub RC, CARG4, BASE
|
||||
| b ->vm_call_tail
|
||||
@ -3749,7 +3748,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
||||
case BC_TSETR:
|
||||
| decode_RB8 RB, INS
|
||||
| decode_RC8 RC, INS
|
||||
| // RA = dst*8, RB = table*8, RC = key*8
|
||||
| // RA = src*8, RB = table*8, RC = key*8
|
||||
| ldr TAB:CARG2, [BASE, RB]
|
||||
| ldr CARG3, [BASE, RC]
|
||||
| ldrb INS, TAB:CARG2->marked
|
||||
|
@ -4649,8 +4649,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
||||
| jnz <4
|
||||
| movzx RA, PC_RA
|
||||
| not RAa
|
||||
| lea RA, [BASE+RA*8]
|
||||
| mov LFUNC:KBASE, [RA-8] // Need to prepare KBASE.
|
||||
| mov LFUNC:KBASE, [BASE+RA*8-8] // Need to prepare KBASE.
|
||||
| mov KBASE, LFUNC:KBASE->pc
|
||||
| mov KBASE, [KBASE+PC2PROTO(k)]
|
||||
| jmp <4
|
||||
|
Loading…
Reference in New Issue
Block a user