* 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:
Jonas Maebe 2015-12-26 20:01:38 +00:00
parent fad7c8f151
commit 205136f924

View File

@ -1233,7 +1233,7 @@ implementation
LOC_MMREGISTER:
begin
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;
else
internalerror(2015042301);