* fixed spilling with large offsets

git-svn-id: trunk@5463 -
This commit is contained in:
florian 2006-11-23 19:49:27 +00:00
parent 1c8dc092b2
commit 964a98edca

View File

@ -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));