浏览代码

+ introduced NR_LOCAL_STACK_POINTER_REG

git-svn-id: branches/wasm@47776 -
nickysn 4 年之前
父节点
当前提交
ce8439fb36
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/wasm32/cpubase.pas

+ 2 - 0
compiler/wasm32/cpubase.pas

@@ -143,6 +143,8 @@ uses
         can use the offset field to indicate the order, which is used by ncal
         can use the offset field to indicate the order, which is used by ncal
         to sort the parameters }
         to sort the parameters }
       NR_EVAL_STACK_BASE = NR_R0;
       NR_EVAL_STACK_BASE = NR_R0;
+      { used as base register in references to indicate that it's a local }
+      NR_LOCAL_STACK_POINTER_REG = NR_R1;
 
 
       maxvarregs = 1;
       maxvarregs = 1;
       maxfpuvarregs = 1;
       maxfpuvarregs = 1;