mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
* don't check for a simple result location when loading an uninitialised
function result: we always only use the first location's register git-svn-id: trunk@32906 -
This commit is contained in:
parent
ae7b17890a
commit
0350369c6a
@ -1260,7 +1260,6 @@ implementation
|
|||||||
LOC_FPUREGISTER,
|
LOC_FPUREGISTER,
|
||||||
LOC_MMREGISTER:
|
LOC_MMREGISTER:
|
||||||
begin
|
begin
|
||||||
resloc.check_simple_location;
|
|
||||||
list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,llvmgetcgparadef(resloc,true)));
|
list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,llvmgetcgparadef(resloc,true)));
|
||||||
end;
|
end;
|
||||||
{ for empty record returns }
|
{ for empty record returns }
|
||||||
|
Loading…
Reference in New Issue
Block a user