mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 23:10:19 +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;
|
tmpref.base:=NR_R15;
|
||||||
helplist.concat(taicpu.op_reg_ref(A_LDR,hreg,tmpref));
|
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
|
if spilltemp.index<>NR_NO then
|
||||||
internalerror(200401263);
|
internalerror(200401263);
|
||||||
@ -130,7 +131,8 @@ unit rgcpu;
|
|||||||
if spilltemp.index<>NR_NO then
|
if spilltemp.index<>NR_NO then
|
||||||
internalerror(200401263);
|
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));
|
helplist.concat(spilling_create_store(tempreg,tmpref));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user