Ver código fonte

MIPS/MIPS64: Fix TSETR barrier (again).

Mike Pall 7 anos atrás
pai
commit
9c1b637898
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      src/vm_mips.dasc
  2. 1 1
      src/vm_mips64.dasc

+ 1 - 1
src/vm_mips.dasc

@@ -4317,7 +4317,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
     |  ins_next2
     |
     |7:  // Possible table write barrier for the value. Skip valiswhite check.
-    |  barrierback TAB:CARG2, TMP3, TMP0, <2
+    |  barrierback TAB:CARG2, TMP3, CRET1, <2
     break;
 
   case BC_TSETM:

+ 1 - 1
src/vm_mips64.dasc

@@ -4263,7 +4263,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
     |  ins_next2
     |
     |7:  // Possible table write barrier for the value. Skip valiswhite check.
-    |  barrierback TAB:CARG2, TMP3, TMP0, <2
+    |  barrierback TAB:CARG2, TMP3, CRET1, <2
     break;
 
   case BC_TSETM: