forked from OSchip/llvm-project
Drop ZeroIndex and InvalidIndex.
They are not used any more. Simply use SlotIndex() to get an invalid index. llvm-svn: 149727
This commit is contained in:
parent
fb04ece198
commit
50f790f962
|
@ -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