diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index dfea0ac30d1..0457e43e6b7 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 { - public: - static inline void* getAsVoidPointer(IndexListEntry *p) { - return p; - } - static inline IndexListEntry* getFromVoidPointer(void *p) { - return static_cast(p); - } - enum { NumLowBitsAvailable = 3 }; - }; - /// SlotIndex - An opaque wrapper around machine indexes. class SlotIndex { friend class SlotIndexes;