mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-26 07:18:15 +00:00
Get rid of RegScavenger::backwards() before the bitrot spreads.
If we need it one day, there is nothing wrong with putting it back in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,20 +90,15 @@ public:
|
||||
/// passes over/within the same function.
|
||||
void initRegState();
|
||||
|
||||
/// forward / backward - Move the internal MBB iterator and update register
|
||||
/// states.
|
||||
/// forward - Move the internal MBB iterator and update register states.
|
||||
void forward();
|
||||
void backward();
|
||||
|
||||
/// forward / backward - Move the internal MBB iterator and update register
|
||||
/// states until it has processed the specific iterator.
|
||||
/// forward - Move the internal MBB iterator and update register states until
|
||||
/// it has processed the specific iterator.
|
||||
void forward(MachineBasicBlock::iterator I) {
|
||||
if (!Tracking && MBB->begin() != I) forward();
|
||||
while (MBBI != I) forward();
|
||||
}
|
||||
void backward(MachineBasicBlock::iterator I) {
|
||||
while (MBBI != I) backward();
|
||||
}
|
||||
|
||||
/// skipTo - Move the internal MBB iterator but do not update register states.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user