Browse Source

* don't override inittempvariables for WebAssembly, because things like
ansistrings actually need to be initialized to zero on proc entry

git-svn-id: branches/wasm@48338 -

nickysn 4 years ago
parent
commit
b35d3c5f3a
1 changed files with 0 additions and 8 deletions
  1. 0 8
      compiler/wasm32/hlcgcpu.pas

+ 0 - 8
compiler/wasm32/hlcgcpu.pas

@@ -213,8 +213,6 @@ uses
      protected
       procedure gen_load_uninitialized_function_result(list: TAsmList; pd: tprocdef; resdef: tdef; const resloc: tcgpara); override;
 
-      procedure inittempvariables(list:TAsmList);override;
-
       function g_call_system_proc_intern(list: TAsmList; pd: tprocdef; const paras: array of pcgpara; forceresdef: tdef): tcgpara; override;
 
      public
@@ -939,12 +937,6 @@ implementation
     end;
 
 
-  procedure thlcgwasm.inittempvariables(list: TAsmList);
-    begin
-      { these are automatically initialised when allocated if necessary }
-    end;
-
-
   function thlcgwasm.g_call_system_proc_intern(list: TAsmList; pd: tprocdef; const paras: array of pcgpara; forceresdef: tdef): tcgpara;
     begin
       result:=inherited;