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:
Jakob Stoklund Olesen 2012-02-04 00:11:06 +00:00
parent fb04ece198
commit 50f790f962
2 changed files with 0 additions and 13 deletions

View File

@ -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 {

View File

@ -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 {