[llvm-commits] [llvm] r105913 - /llvm/trunk/include/llvm/CodeGen/LiveInterval.h

Benjamin Kramer benny.kra at googlemail.com
Sun Jun 13 05:52:38 PDT 2010


Author: d0k
Date: Sun Jun 13 07:52:38 2010
New Revision: 105913

URL: http://llvm.org/viewvc/llvm-project?rev=105913&view=rev
Log:
Let SmallVector take advantage of LiveRange's podness.

Modified:
    llvm/trunk/include/llvm/CodeGen/LiveInterval.h

Modified: llvm/trunk/include/llvm/CodeGen/LiveInterval.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveInterval.h?rev=105913&r1=105912&r2=105913&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveInterval.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveInterval.h Sun Jun 13 07:52:38 2010
@@ -258,6 +258,8 @@
     LiveRange(); // DO NOT IMPLEMENT
   };
 
+  template <> struct isPodLike<LiveRange> { static const bool value = true; };
+
   raw_ostream& operator<<(raw_ostream& os, const LiveRange &LR);
 
 





More information about the llvm-commits mailing list