mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 02:32:11 +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_;
|
return indexes_;
|
||||||
}
|
}
|
||||||
|
|
||||||
SlotIndex getZeroIndex() const {
|
|
||||||
return indexes_->getZeroIndex();
|
|
||||||
}
|
|
||||||
|
|
||||||
SlotIndex getInvalidIndex() const {
|
|
||||||
return indexes_->getInvalidIndex();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// isNotInMIMap - returns true if the specified machine instr has been
|
/// isNotInMIMap - returns true if the specified machine instr has been
|
||||||
/// removed or was never entered in the map.
|
/// removed or was never entered in the map.
|
||||||
bool isNotInMIMap(const MachineInstr* Instr) const {
|
bool isNotInMIMap(const MachineInstr* Instr) const {
|
||||||
|
@ -472,11 +472,6 @@ namespace llvm {
|
|||||||
return SlotIndex(back(), 0);
|
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
|
/// Returns the distance between the highest and lowest indexes allocated
|
||||||
/// so far.
|
/// so far.
|
||||||
unsigned getIndexesLength() const {
|
unsigned getIndexesLength() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user