From be0b11c611cc49043cba7c66de322f614bd987fe Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Jun 2001 05:25:09 +0000 Subject: [PATCH] * Added capability to print out an interval git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Assembly/Writer.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.34.1