Browse Source

x86: Fix stack slot counting for IR_CALLA (affects table.new).

Mike Pall 12 years ago
parent
commit
c1328e9795
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lj_asm.c

+ 1 - 1
src/lj_asm.c

@@ -2017,7 +2017,7 @@ static void asm_setup_regsp(ASMState *as)
 	as->modset |= RSET_SCRATCH;
       continue;
       }
-    case IR_CALLN: case IR_CALLL: case IR_CALLS: {
+    case IR_CALLN: case IR_CALLA: case IR_CALLL: case IR_CALLS: {
       const CCallInfo *ci = &lj_ir_callinfo[ir->op2];
       ir->prev = asm_setup_call_slots(as, ir, ci);
       if (inloop)