aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h
index 6014f91..f9a2e77 100644
--- a/include/llvm/CodeGen/SlotIndexes.h
+++ b/include/llvm/CodeGen/SlotIndexes.h
@@ -37,7 +37,6 @@ namespace llvm {
/// information.
class IndexListEntry {
friend class SlotIndex;
- friend class SlotIndexes;
private:
@@ -63,38 +62,6 @@ namespace llvm {
IndexListEntry* getPrev() { return prev; }
const IndexListEntry* getPrev() const { return prev; }
void setPrev(IndexListEntry *prev) { this->prev = prev; }
-
- /*
- bool operator==(const IndexListEntry &other) const {
- assert(getIndex() != other.getIndex() || this == &other &&
- "Non-equal index list entries compare equal.");
- return getIndex() == other.getIndex();
- }
-
- bool operator!=(const IndexListEntry &other) const {
- return getIndex() != other.getIndex();
- }
-
- bool operator<(const IndexListEntry &other) const {
- return getIndex() < other.getIndex();
- }
-
- bool operator<=(const IndexListEntry &other) const {
- return getIndex() <= other.getIndex();
- }
-
- bool operator>(const IndexListEntry &other) const {
- return getIndex() > other.getIndex();
- }
-
- bool operator>=(const IndexListEntry &other) const {
- return getIndex() >= other.getIndex();
- }
-
- int distance(const IndexListEntry &other) const {
- return other.getIndex() - getIndex();
- }
- */
};
// Specialize PointerLikeTypeTraits for IndexListEntry.