소스 검색

* switch NR_FRAME_POINTER_REG to NR_LOCAL_FRAME_POINTER_REG

git-svn-id: branches/wasm@47874 -
nickysn 4 년 전
부모
커밋
f138d66a2a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compiler/wasm32/cpubase.pas

+ 2 - 2
compiler/wasm32/cpubase.pas

@@ -235,8 +235,8 @@ uses
       NR_STACK_POINTER_REG = NR_R1;
       RS_STACK_POINTER_REG = RS_R1;
       {# Frame pointer register }
-      NR_FRAME_POINTER_REG = NR_STACK_POINTER_REG;
-      RS_FRAME_POINTER_REG = RS_STACK_POINTER_REG;
+      NR_FRAME_POINTER_REG = NR_LOCAL_FRAME_POINTER_REG;
+      RS_FRAME_POINTER_REG = RS_LOCAL_FRAME_POINTER_REG;
 
       { WebAssembly results are returned on the evaluation stack, not via a register }