diff options
author | Chris Lattner <sabre@nondot.org> | 2001-06-21 05:25:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-06-21 05:25:09 +0000 |
commit | be0b11c611cc49043cba7c66de322f614bd987fe (patch) | |
tree | 1315bc01d4f1eb95f6c6018598efbc6bb5e43003 /include/llvm/Assembly | |
parent | 2100f8cceddcffff65008db79ac036551a0e4846 (diff) | |
download | llvm-be0b11c611cc49043cba7c66de322f614bd987fe.tar.gz llvm-be0b11c611cc49043cba7c66de322f614bd987fe.tar.bz2 llvm-be0b11c611cc49043cba7c66de322f614bd987fe.tar.xz |
* Added capability to print out an interval
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48 91177308-0d34-0410-b5e6-96231b3b80d8
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 |