summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SlotIndexes.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-04 00:11:06 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-04 00:11:06 +0000
commitc4a2715a548cc150064db162bd18bee1f10cb300 (patch)
treea2d7b68ea9cbc204070276eda2dea3b81ebf22c1 /include/llvm/CodeGen/SlotIndexes.h
parent36b24b0dfa2ca1ea203f37ce62d06ee23bd63c82 (diff)
downloadllvm-c4a2715a548cc150064db162bd18bee1f10cb300.tar.gz
llvm-c4a2715a548cc150064db162bd18bee1f10cb300.tar.bz2
llvm-c4a2715a548cc150064db162bd18bee1f10cb300.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen/SlotIndexes.h')
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h
index 774a0f5443..b1813b3419 100644
--- a/include/llvm/CodeGen/SlotIndexes.h
+++ b/include/llvm/CodeGen/SlotIndexes.h
@@ -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 {