mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 21:28:03 +02:00
* fixed spilling with large offsets
git-svn-id: trunk@5463 -
This commit is contained in:
parent
1c8dc092b2
commit
964a98edca
@ -80,7 +80,8 @@ unit rgcpu;
|
||||
tmpref.base:=NR_R15;
|
||||
helplist.concat(taicpu.op_reg_ref(A_LDR,hreg,tmpref));
|
||||
|
||||
reference_reset_base(tmpref,hreg,0);
|
||||
reference_reset_base(tmpref,current_procinfo.framepointer,0);
|
||||
tmpref.index:=hreg;
|
||||
|
||||
if spilltemp.index<>NR_NO then
|
||||
internalerror(200401263);
|
||||
@ -130,7 +131,8 @@ unit rgcpu;
|
||||
if spilltemp.index<>NR_NO then
|
||||
internalerror(200401263);
|
||||
|
||||
reference_reset_base(tmpref,hreg,0);
|
||||
reference_reset_base(tmpref,current_procinfo.framepointer,0);
|
||||
tmpref.index:=hreg;
|
||||
|
||||
helplist.concat(spilling_create_store(tempreg,tmpref));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user