OSDN Git Service

Let SmallVector take advantage of LiveRange's podness.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 13 Jun 2010 12:52:38 +0000 (12:52 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 13 Jun 2010 12:52:38 +0000 (12:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105913 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveInterval.h

index 637f52b..d644e44 100644 (file)
@@ -258,6 +258,8 @@ namespace llvm {
     LiveRange(); // DO NOT IMPLEMENT
   };
 
+  template <> struct isPodLike<LiveRange> { static const bool value = true; };
+
   raw_ostream& operator<<(raw_ostream& os, const LiveRange &LR);