mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 01:09:24 +02:00
* 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:
parent
c452e70f74
commit
35a170ed8e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user