mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Fix vm_tsetr (needed by table.remove).
The A argument was being loaded as 2-bytes instead of 1.
This commit is contained in:
parent
ed2d43d73c
commit
5dec8c2211
@ -815,7 +815,7 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
| brasl r14, extern lj_tab_setinth // (lua_State *L, GCtab *t, int32_t key)
|
| brasl r14, extern lj_tab_setinth // (lua_State *L, GCtab *t, int32_t key)
|
||||||
| // TValue * returned in r2 (CRET1).
|
| // TValue * returned in r2 (CRET1).
|
||||||
| lgr RC, CRET1
|
| lgr RC, CRET1
|
||||||
| llgh RA, PC_RA
|
| llgc RA, PC_RA
|
||||||
| lgr BASE, RB // Restore BASE.
|
| lgr BASE, RB // Restore BASE.
|
||||||
| j ->BC_TSETR_Z
|
| j ->BC_TSETR_Z
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user