Browse Source

- removed ttgwasm.deallocLocalVar, as it is no longer used

git-svn-id: branches/wasm@47791 -
nickysn 4 years ago
parent
commit
a104c3d7a0
1 changed files with 0 additions and 6 deletions
  1. 0 6
      compiler/wasm32/tgcpu.pas

+ 0 - 6
compiler/wasm32/tgcpu.pas

@@ -68,7 +68,6 @@ unit tgcpu;
          procedure updateFirstTemp;
 
          procedure allocLocalVarToRef(wbt: TWasmBasicType; out ref: treference);
-         procedure deallocLocalVar(wbt: TWasmBasicType; idx: integer);
          procedure LocalVarToRef(idx: integer; size: Integer; out ref: treference);
         protected
         // procedure getimplicitobjtemp(list: TAsmList; def: tdef; temptype: ttemptype; out ref: treference);
@@ -401,11 +400,6 @@ unit tgcpu;
         localVarToRef(idx, 1, ref);
       end;
 
-    procedure ttgwasm.deallocLocalVar(wbt: TWasmBasicType; idx: integer);
-      begin
-        localvars.dealloc(wbt, idx);
-      end;
-
     procedure ttgwasm.localVarToRef(idx: integer; size: integer; out ref: treference);
       begin
         reference_reset_base(ref,NR_LOCAL_STACK_POINTER_REG,idx,ctempposinvalid,size,[]);