mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 11:13:02 +02:00
* extra error checking in gen_load_cgpara_loc
git-svn-id: trunk@29824 -
This commit is contained in:
parent
3fe0bd065e
commit
bc3d495285
@ -1244,10 +1244,17 @@ implementation
|
|||||||
else
|
else
|
||||||
{$endif not cpu64bitalu}
|
{$endif not cpu64bitalu}
|
||||||
begin
|
begin
|
||||||
unget_para(paraloc^);
|
if not assigned(paraloc^.next) then
|
||||||
gen_alloc_regloc(list,destloc);
|
begin
|
||||||
{ from register to register -> alignment is irrelevant }
|
unget_para(paraloc^);
|
||||||
cg.a_load_cgparaloc_anyreg(list,destloc.size,paraloc^,destloc.register,0);
|
gen_alloc_regloc(list,destloc);
|
||||||
|
{ from register to register -> alignment is irrelevant }
|
||||||
|
cg.a_load_cgparaloc_anyreg(list,destloc.size,paraloc^,destloc.register,0);
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
internalerror(200410108);
|
||||||
|
end;
|
||||||
{ data could come in two memory locations, for now
|
{ data could come in two memory locations, for now
|
||||||
we simply ignore the sanity check (FK)
|
we simply ignore the sanity check (FK)
|
||||||
if assigned(paraloc^.next) then
|
if assigned(paraloc^.next) then
|
||||||
|
Loading…
Reference in New Issue
Block a user