mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
LiveRegUnits: Use *MBB for consistency and convenience.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -102,10 +102,10 @@ void LiveRegUnits::stepForward(const MachineInstr &MI,
|
||||
}
|
||||
|
||||
/// Adds all registers in the live-in list of block @p BB.
|
||||
void LiveRegUnits::addLiveIns(const MachineBasicBlock &BB,
|
||||
void LiveRegUnits::addLiveIns(const MachineBasicBlock *MBB,
|
||||
const MCRegisterInfo &MCRI) {
|
||||
for (MachineBasicBlock::livein_iterator L = BB.livein_begin(),
|
||||
LE = BB.livein_end(); L != LE; ++L) {
|
||||
for (MachineBasicBlock::livein_iterator L = MBB->livein_begin(),
|
||||
LE = MBB->livein_end(); L != LE; ++L) {
|
||||
addReg(*L, MCRI);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user