]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
PPC: Fix write barrier in BC_TSETV.
authorMike Pall <mike>
Mon, 13 Sep 2010 23:23:34 +0000 (01:23 +0200)
committerMike Pall <mike>
Mon, 13 Sep 2010 23:23:34 +0000 (01:23 +0200)
src/buildvm_ppc.dasc

index 56372527a572ddc5e2d804c2b5c6ac5bde42d706..0786ffd5af2c0b396b88dc2f999ac1d686292954 100644 (file)
@@ -1867,7 +1867,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
     |  checknil TMP2
     |  checkok >3
     |1:
-    |  andi. TMP3, TMP3, LJ_GC_BLACK   // isblack(table)
+    |  andi. TMP2, TMP3, LJ_GC_BLACK   // isblack(table)
     |   evstddx SAVE0, TMP1, TMP0
     |  bne >7
     |2: