mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:29:17 +02:00
* fixed function return location for small records on darwin/i386 and
iphonesim/i386 when not using cdecl/cppdecl/mwpascal calling conventions git-svn-id: trunk@22350 -
This commit is contained in:
parent
f2e1ec2771
commit
95c69f1f9e
@ -126,6 +126,8 @@ unit cpupara;
|
||||
end;
|
||||
system_i386_darwin,
|
||||
system_i386_iphonesim :
|
||||
begin
|
||||
if calloption in cdecl_pocalls then
|
||||
begin
|
||||
case def.typ of
|
||||
recorddef :
|
||||
@ -148,6 +150,7 @@ unit cpupara;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
result:=inherited ret_in_param(def,calloption);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user