mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
Add skipTo to set internal iterator. Useful when pointed to instruction is deleted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34997 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f1a1e0366
commit
f262b35559
@ -79,6 +79,10 @@ public:
|
||||
while (MBBI != I) backward();
|
||||
}
|
||||
|
||||
/// skipTo - Move the internal MBB iterator but do not update register states.
|
||||
///
|
||||
void skipTo(MachineBasicBlock::iterator I) { MBBI = I; }
|
||||
|
||||
/// isReserved - Returns true if a register is reserved. It is never "unused".
|
||||
bool isReserved(unsigned Reg) const { return ReservedRegs[Reg]; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user