diff options
-rw-r--r-- | include/llvm/CodeGen/SlotIndexes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index 0cc00070e3..9a85ee1fbf 100644 --- a/include/llvm/CodeGen/SlotIndexes.h +++ b/include/llvm/CodeGen/SlotIndexes.h @@ -329,7 +329,6 @@ namespace llvm { }; /// DenseMapInfo specialization for SlotIndex. - /// TODO: Not a POD? template <> struct DenseMapInfo<SlotIndex> { static inline SlotIndex getEmptyKey() { @@ -345,6 +344,9 @@ namespace llvm { return (LHS == RHS); } }; + + template <> struct isPodLike<SlotIndex> { static const bool value = true; }; + inline raw_ostream& operator<<(raw_ostream &os, SlotIndex li) { li.print(os); |