فهرست منبع

- get rid of FRAME_POINTER_SYM and BASE_POINTER_SYM - they should not be used anymore

git-svn-id: branches/wasm@48331 -
nickysn 4 سال پیش
والد
کامیت
5a84c4db61
2فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 0 2
      compiler/wasm32/cpubase.pas
  2. 3 2
      compiler/wasm32/hlcgcpu.pas

+ 0 - 2
compiler/wasm32/cpubase.pas

@@ -291,8 +291,6 @@ uses
 *****************************************************************************}
 
       maxfpuregs = 0;
-      FRAME_POINTER_SYM = '$fp';
-      BASE_POINTER_SYM = '$bp';
 
       { Global variable, that acts as the stack pointer in linear memory
         (also called the "linear stack"). This stack is used for address-taken

+ 3 - 2
compiler/wasm32/hlcgcpu.pas

@@ -1016,8 +1016,9 @@ implementation
             end
           else // if (ref.base = NR_FRAME_POINTER_REG) then
             begin
-              list.Concat(taicpu.op_sym(a_local_get, current_asmdata.RefAsmSymbol(FRAME_POINTER_SYM,AT_ADDR) ));
-              incstack(list,1);
+              internalerror(2021012202);
+              //list.Concat(taicpu.op_sym(a_local_get, current_asmdata.RefAsmSymbol(FRAME_POINTER_SYM,AT_ADDR) ));
+              //incstack(list,1);
             end;
         end
       else