mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 18:26:16 +02:00
* 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:
parent
f891c52dd1
commit
b35d3c5f3a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user