浏览代码

* Fix error in comment in previous commit

git-svn-id: trunk@21539 -
pierre 13 年之前
父节点
当前提交
b21198a14a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/mips/ncpucall.pas

+ 1 - 0
compiler/mips/ncpucall.pas

@@ -56,6 +56,7 @@ procedure tMIPSELcallnode.extra_post_call_code;
 begin
 begin
   { MIPS functions should never modify the stack pointer
   { MIPS functions should never modify the stack pointer
     after the prologue.
     after the prologue.
+    Enough space must be allocated inside the prologue, not after.  }
    // if pushedparasize > 0 then
    // if pushedparasize > 0 then
    // current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_const(A_ADDIU, NR_STACK_POINTER_REG, NR_STACK_POINTER_REG, pushedparasize));
    // current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_const(A_ADDIU, NR_STACK_POINTER_REG, NR_STACK_POINTER_REG, pushedparasize));
 end;
 end;