* 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 -
This commit is contained in:
nickysn 2021-01-23 04:42:52 +00:00
parent f891c52dd1
commit b35d3c5f3a

View File

@ -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;