mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Drop ZeroIndex and InvalidIndex.
They are not used any more. Simply use SlotIndex() to get an invalid index. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36b24b0dfa
commit
c4a2715a54
@ -161,14 +161,6 @@ namespace llvm {
|
||||
return indexes_;
|
||||
}
|
||||
|
||||
SlotIndex getZeroIndex() const {
|
||||
return indexes_->getZeroIndex();
|
||||
}
|
||||
|
||||
SlotIndex getInvalidIndex() const {
|
||||
return indexes_->getInvalidIndex();
|
||||
}
|
||||
|
||||
/// isNotInMIMap - returns true if the specified machine instr has been
|
||||
/// removed or was never entered in the map.
|
||||
bool isNotInMIMap(const MachineInstr* Instr) const {
|
||||
|
@ -472,11 +472,6 @@ namespace llvm {
|
||||
return SlotIndex(back(), 0);
|
||||
}
|
||||
|
||||
/// Returns the invalid index marker for this analysis.
|
||||
SlotIndex getInvalidIndex() {
|
||||
return getZeroIndex();
|
||||
}
|
||||
|
||||
/// Returns the distance between the highest and lowest indexes allocated
|
||||
/// so far.
|
||||
unsigned getIndexesLength() const {
|
||||
|
Loading…
Reference in New Issue
Block a user