mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 21:49:06 +02:00
* fixed the size used for setting uninitialised function results if it
has to be zero/sign-extended for ABI reasons git-svn-id: trunk@32742 -
This commit is contained in:
parent
fad7c8f151
commit
205136f924
@ -1233,7 +1233,7 @@ implementation
|
|||||||
LOC_MMREGISTER:
|
LOC_MMREGISTER:
|
||||||
begin
|
begin
|
||||||
resloc.check_simple_location;
|
resloc.check_simple_location;
|
||||||
list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,resloc.location^.def));
|
list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,llvmgetcgparadef(resloc,true)));
|
||||||
end;
|
end;
|
||||||
else
|
else
|
||||||
internalerror(2015042301);
|
internalerror(2015042301);
|
||||||
|
Loading…
Reference in New Issue
Block a user