summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-06-13 12:52:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-06-13 12:52:38 +0000
commit31135c06920017efa3998723fd1993fea3d1d6c6 (patch)
treef32a41ca930c00124362d24653e27cd6e0d52465 /include/llvm/CodeGen
parentd72c9001526228c5a4e0935809cf104a6edf3c93 (diff)
downloadllvm-31135c06920017efa3998723fd1993fea3d1d6c6.tar.gz
llvm-31135c06920017efa3998723fd1993fea3d1d6c6.tar.bz2
llvm-31135c06920017efa3998723fd1993fea3d1d6c6.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/LiveInterval.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index 637f52bd0b..d644e4485d 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<LiveRange> { static const bool value = true; };
+
raw_ostream& operator<<(raw_ostream& os, const LiveRange &LR);