Forráskód Böngészése

+ introduced NR_LOCAL_STACK_POINTER_REG

git-svn-id: branches/wasm@47776 -
nickysn 4 éve
szülő
commit
ce8439fb36
1 módosított fájl, 2 hozzáadás és 0 törlés
  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;