Fix vm_tsetr (needed by table.remove).

The A argument was being loaded as 2-bytes instead of 1.
This commit is contained in:
Michael Munday 2017-01-06 13:53:31 -05:00
parent ed2d43d73c
commit 5dec8c2211

View File

@ -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
| |