Move operator<<(std::ostream&, const LiveInterval&) out of the header file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10290 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.h b/lib/CodeGen/LiveIntervalAnalysis.h
index b2f0416..2be89fd 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.h
+++ b/lib/CodeGen/LiveIntervalAnalysis.h
@@ -196,15 +196,8 @@
         return lhs.reg == rhs.reg;
     }
 
-    inline std::ostream& operator<<(std::ostream& os,
-                                    const LiveIntervals::Interval& li) {
-        os << "%reg" << li.reg << " = ";
-        for (LiveIntervals::Interval::Ranges::const_iterator
-                 i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) {
-            os << "[" << i->first << ", " << i->second << "]";
-        }
-        return os;
-    }
+    std::ostream& operator<<(std::ostream& os,
+                             const LiveIntervals::Interval& li);
 
 } // End llvm namespace