Przeglądaj źródła

+ introduced RS_EVAL_STACK_BASE and RS_LOCAL_STACK_POINTER_REG

git-svn-id: branches/wasm@47873 -
nickysn 4 lat temu
rodzic
commit
170fab85ff
1 zmienionych plików z 2 dodań i 0 usunięć
  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
         to sort the parameters }
       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 }
       NR_LOCAL_STACK_POINTER_REG = NR_R1;
+      RS_LOCAL_STACK_POINTER_REG = RS_R1;
       { fake register, representing the local frame pointer. Used for accessing
         address-taken local variables on the linear stack: (localframeptr+offset). }
       NR_LOCAL_FRAME_POINTER_REG = NR_R3;