* Added capability to print out an interval
authorChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2001 05:25:09 +0000 (05:25 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2001 05:25:09 +0000 (05:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Assembly/Writer.h

index fd13f779cbfe4df47c978f4239c6d3bd3392daac..b8bfbadf66e2d433e39cf94ca8f7f2b23d49585e 100644 (file)
@@ -88,4 +88,15 @@ inline ostream &operator<<(ostream &o, const Value *I) {
   return o;
 }
 
+
+// This library also provides support for printing out Interval's.
+namespace cfg {
+  class Interval;
+  void WriteToOutput(const Interval *I, ostream &o);
+  inline ostream &operator <<(ostream &o, const Interval *I) {
+    WriteToOutput(I, o);
+    return o;
+  }
+}
+
 #endif