mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Stop caching basic block index ranges now that SlotIndexes can keep up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -518,11 +518,21 @@ namespace llvm {
|
||||
return getMBBRange(MBB->getNumber());
|
||||
}
|
||||
|
||||
/// Returns the first index in the given basic block number.
|
||||
SlotIndex getMBBStartIdx(unsigned Num) const {
|
||||
return getMBBRange(Num).first;
|
||||
}
|
||||
|
||||
/// Returns the first index in the given basic block.
|
||||
SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const {
|
||||
return getMBBRange(mbb).first;
|
||||
}
|
||||
|
||||
/// Returns the last index in the given basic block number.
|
||||
SlotIndex getMBBEndIdx(unsigned Num) const {
|
||||
return getMBBRange(Num).second;
|
||||
}
|
||||
|
||||
/// Returns the last index in the given basic block.
|
||||
SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const {
|
||||
return getMBBRange(mbb).second;
|
||||
|
Reference in New Issue
Block a user