summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/Writer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h
index fd13f779cb..b8bfbadf66 100644
--- a/include/llvm/Assembly/Writer.h
+++ b/include/llvm/Assembly/Writer.h
@@ -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