aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveInterval.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-12-15 22:57:14 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-12-15 22:57:14 +0000
commitc21c5eeb4f56f160e79522df2d3aab5cfe73c05d (patch)
treeb349cac9dfc28354762c66ad227c0ae9e496748a /include/llvm/CodeGen/LiveInterval.h
parent19103b11ecbd5153537a1c64ffefa922fe591add (diff)
An even better unbreakage...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r--include/llvm/CodeGen/LiveInterval.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index 8181a2093d..a64af87d91 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -26,7 +26,6 @@
#include <iosfwd>
#include <vector>
#include <cassert>
-#include <ostream>
namespace llvm {
class MRegisterInfo;
@@ -63,10 +62,7 @@ namespace llvm {
};
std::ostream& operator<<(std::ostream& os, const LiveRange &LR);
- inline OStream& operator<<(OStream& os, const LiveRange &LR) {
- if (os.stream()) *os.stream() << LR;
- return os;
- }
+ OStream& operator<<(OStream& os, const LiveRange &LR);
inline bool operator<(unsigned V, const LiveRange &LR) {
return V < LR.start;