ARM: Fix __newindex metamethod handling for BC_TSETB.

This commit is contained in:
Mike Pall
2011-05-31 21:35:55 +02:00
parent 0764c615fd
commit 514ccfceb8
2 changed files with 76 additions and 74 deletions

View File

@@ -3207,6 +3207,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| tst RA, #1<<MM_newindex
| bne <1 // 'no __newindex' flag set: done.
| ldr INS, [PC, #-4] // Restore INS.
| decode_RA8 RA, INS
| b ->vmeta_tsetb
|
|7: // Possible table write barrier for the value. Skip valiswhite check.