浏览代码

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

Mike Pall 12 年之前
父节点
当前提交
c1328e9795
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 	as->modset |= RSET_SCRATCH;
       continue;
       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];
       const CCallInfo *ci = &lj_ir_callinfo[ir->op2];
       ir->prev = asm_setup_call_slots(as, ir, ci);
       ir->prev = asm_setup_call_slots(as, ir, ci);
       if (inloop)
       if (inloop)