PPC: Preserve RD during array resizing in BC_TSETM.

This commit is contained in:
Mike Pall
2010-10-18 16:12:27 +02:00
parent 5391a5f5b1
commit 65dec38e44
2 changed files with 56 additions and 52 deletions

View File

@@ -2948,8 +2948,10 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| stw BASE, L->base
| mr CARG1, L
| stw PC, SAVE_PC
| mr SAVE0, RD
| bl extern lj_tab_reasize // (lua_State *L, GCtab *t, int nasize)
| // Must not reallocate the stack.
| mr RD, SAVE0
| b <1
|
|7: // Possible table write barrier for any value. Skip valiswhite check.