Răsfoiți Sursa

+ introduced RS_EVAL_STACK_BASE and RS_LOCAL_STACK_POINTER_REG

git-svn-id: branches/wasm@47873 -
nickysn 4 ani în urmă
părinte
comite
170fab85ff
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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;