* don't internalerror when asked to set the function result of a function

returning an empty record to "uninitialized"

git-svn-id: trunk@32778 -
This commit is contained in:
Jonas Maebe 2015-12-28 15:06:22 +00:00
parent c452e70f74
commit 35a170ed8e

View File

@ -1260,6 +1260,9 @@ implementation
resloc.check_simple_location;
list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,llvmgetcgparadef(resloc,true)));
end;
{ for empty record returns }
LOC_VOID:
;
else
internalerror(2015042301);
end;