* fixed the value passing of record parameters with non-scalar value size on the

WebAssembly target

git-svn-id: trunk@49218 -
This commit is contained in:
nickysn 2021-04-17 14:25:54 +00:00
parent 947f9af0e5
commit dbecb67d45

View File

@ -99,7 +99,7 @@ implementation
recorddef :
begin
{ Delphi stdcall passes records on the stack for call by value }
result:=(varspez=vs_const) or (def.size=0);
result:=(varspez=vs_const) or (not (def.size in [1,2,4,8]));
end;
arraydef :
begin