mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
Add debug information about register spilling
If DEBUG_SPILLING is defined we'll output "XXX: Spill read/write". git-svn-id: trunk@21816 -
This commit is contained in:
parent
1a25aed68d
commit
aef81cad68
@ -1874,6 +1874,9 @@ unit rgobj;
|
||||
ins:=spilling_create_load(spilltemp,tempreg);
|
||||
add_cpu_interferences(ins);
|
||||
list.insertafter(ins,pos);
|
||||
{$ifdef DEBUG_SPILLING}
|
||||
list.Insertbefore(tai_comment.Create(strpnew('XXX: Spill Read')),ins);
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
||||
@ -1884,6 +1887,9 @@ unit rgobj;
|
||||
ins:=spilling_create_store(tempreg,spilltemp);
|
||||
add_cpu_interferences(ins);
|
||||
list.insertafter(ins,pos);
|
||||
{$ifdef DEBUG_SPILLING}
|
||||
list.Insertbefore(tai_comment.Create(strpnew('XXX: Spill Write')),ins);
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user