diff options
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/Writer.h | 11 |
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 |