diff options
-rw-r--r-- | include/llvm/CodeGen/SlotIndexes.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index dfea0ac30d..0457e43e6b 100644 --- a/include/llvm/CodeGen/SlotIndexes.h +++ b/include/llvm/CodeGen/SlotIndexes.h @@ -73,19 +73,6 @@ namespace llvm { void createNode(const IndexListEntry &); }; - // Specialize PointerLikeTypeTraits for IndexListEntry. - template <> - class PointerLikeTypeTraits<IndexListEntry*> { - public: - static inline void* getAsVoidPointer(IndexListEntry *p) { - return p; - } - static inline IndexListEntry* getFromVoidPointer(void *p) { - return static_cast<IndexListEntry*>(p); - } - enum { NumLowBitsAvailable = 3 }; - }; - /// SlotIndex - An opaque wrapper around machine indexes. class SlotIndex { friend class SlotIndexes; |