mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 23:49:11 +02:00
* disable ret_in_param for floats, as they can be returned in a floating point register, and because enabling ret_in_param for them screws up badly the internprocs that handle floats
git-svn-id: branches/i8086@23840 -
This commit is contained in:
parent
0683409703
commit
a66f7b61c6
@ -152,7 +152,7 @@ unit cpupara;
|
|||||||
|
|
||||||
{ 64-bit types are returned as a parameter pointer, since putting them
|
{ 64-bit types are returned as a parameter pointer, since putting them
|
||||||
in registers would require 4 registers on the i8086 }
|
in registers would require 4 registers on the i8086 }
|
||||||
if def.size > 4 then
|
if (def.size > 4) and (def.typ <> floatdef) then
|
||||||
begin
|
begin
|
||||||
result:=true;
|
result:=true;
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user