* copy all wasm parameters to the local stack, so that their address can be taken

git-svn-id: branches/wasm@47947 -
This commit is contained in:
nickysn 2021-01-02 06:36:20 +00:00
parent 40e4dadcdf
commit c24446c037

View File

@ -200,8 +200,9 @@ implementation
function tcpuparamanager.param_use_paraloc(const cgpara: tcgpara): boolean;
begin
{ all parameters are copied by the VM to local variable locations }
result:=true;
{ all parameters are copied to the linear stack, so that their address
can be taken }
result:=false;
end;
function tcpuparamanager.ret_in_param(def:tdef;pd:tabstractprocdef):boolean;