From 31135c06920017efa3998723fd1993fea3d1d6c6 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 13 Jun 2010 12:52:38 +0000 Subject: [PATCH] Let SmallVector take advantage of LiveRange's podness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105913 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/LiveInterval.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 637f52bd0bd..d644e4485d6 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -258,6 +258,8 @@ namespace llvm { LiveRange(); // DO NOT IMPLEMENT }; + template <> struct isPodLike { static const bool value = true; }; + raw_ostream& operator<<(raw_ostream& os, const LiveRange &LR); -- 2.11.0