mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
* a_loadfpu_ref_cgpara: use the paralocation instead of the cgpara size
when loading an fpu register, can be different in case of a record that needs to be passed in an fpu register git-svn-id: trunk@34030 -
This commit is contained in:
parent
eeae34ea7d
commit
214aea8853
@ -2551,7 +2551,7 @@ implementation
|
||||
begin
|
||||
cgpara.check_simple_location;
|
||||
paramanager.alloccgpara(list,cgpara);
|
||||
a_loadfpu_ref_reg(list,fromsize,cgpara.def,ref,cgpara.location^.register);
|
||||
a_loadfpu_ref_reg(list,fromsize,cgpara.location^.def,ref,cgpara.location^.register);
|
||||
end;
|
||||
LOC_REFERENCE,LOC_CREFERENCE:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user