PPC/e500: Fix write barrier in USETS.

This commit is contained in:
Mike Pall 2011-10-25 12:41:38 +02:00
parent 9df9c7ef73
commit ca2b923026
2 changed files with 3 additions and 4 deletions

View File

@ -2549,7 +2549,6 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
break;
case BC_USETS:
| // RA = uvnum*8, RD = str_const*8 (~)
| ins_next1
| lwz LFUNC:RB, FRAME_FUNC(BASE)
| srwi TMP1, RD, 1
| srwi RA, RA, 1
@ -2566,7 +2565,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| evstdd STR:TMP1, 0(CARG2)
| bne >2
|1:
| ins_next2
| ins_next
|
|2: // Check if string is white and ensure upvalue is closed.
| andi. TMP3, TMP3, LJ_GC_WHITES // iswhite(str)

View File

@ -3575,8 +3575,6 @@ static const unsigned int build_actionlist[4995] = {
0x48000000,
0x0005000b,
0x00000000,
0x80f00000,
0x3a100004,
0x814efffc,
0x5588007e,
0x000900ab,
@ -3602,6 +3600,8 @@ static const unsigned int build_actionlist[4995] = {
0x40820000,
0x00050802,
0x0006000b,
0x80f00000,
0x3a100004,
0x54e815ba,
0x54ea5d78,
0x54ec9b78,