Jelajahi Sumber

+ introduced RS_EVAL_STACK_BASE and RS_LOCAL_STACK_POINTER_REG

git-svn-id: branches/wasm@47873 -
nickysn 4 tahun lalu
induk
melakukan
170fab85ff
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      compiler/wasm32/cpubase.pas

+ 2 - 0
compiler/wasm32/cpubase.pas

@@ -143,8 +143,10 @@ 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;
+      RS_EVAL_STACK_BASE = RS_R0;
       { used as base register in references to indicate that it's a local }
       { used as base register in references to indicate that it's a local }
       NR_LOCAL_STACK_POINTER_REG = NR_R1;
       NR_LOCAL_STACK_POINTER_REG = NR_R1;
+      RS_LOCAL_STACK_POINTER_REG = RS_R1;
       { fake register, representing the local frame pointer. Used for accessing
       { fake register, representing the local frame pointer. Used for accessing
         address-taken local variables on the linear stack: (localframeptr+offset). }
         address-taken local variables on the linear stack: (localframeptr+offset). }
       NR_LOCAL_FRAME_POINTER_REG = NR_R3;
       NR_LOCAL_FRAME_POINTER_REG = NR_R3;