mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 11:08:02 +02:00
* 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:
parent
947f9af0e5
commit
dbecb67d45
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user