summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-21 05:25:09 +0000
committerChris Lattner <sabre@nondot.org>2001-06-21 05:25:09 +0000
commitbe0b11c611cc49043cba7c66de322f614bd987fe (patch)
tree1315bc01d4f1eb95f6c6018598efbc6bb5e43003 /include/llvm/Assembly
parent2100f8cceddcffff65008db79ac036551a0e4846 (diff)
downloadllvm-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.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