]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
PPC/e500: Fix write barrier in USETS.
authorMike Pall <mike>
Tue, 25 Oct 2011 10:41:38 +0000 (12:41 +0200)
committerMike Pall <mike>
Tue, 25 Oct 2011 10:42:13 +0000 (12:42 +0200)
src/buildvm_ppcspe.dasc
src/buildvm_ppcspe.h

index f96f7fb6b9345d5336a3764fd645ab1f03592d4a..3ec36f76f11b4fbccdfab53423887827f2a6fdc7 100644 (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)
index 78d493776d2cd88fa8e7222d9ed9418c7f6a3530..32571ebe9611d29f7ccde14480bbbf5396f2962f 100644 (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,