diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index fd13f779cbf..b8bfbadf66e 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