projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f972cbd
)
Add dump method for Loops
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Feb 2003 16:54:45 +0000
(16:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Feb 2003 16:54:45 +0000
(16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5671
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/LoopInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/LoopInfo.cpp
b/lib/Analysis/LoopInfo.cpp
index ddcbbf44250ae5089f1f090ac23854b0fd255c76..d7d8a5b9e56d1744f87f6936143c0421b8dde37a 100644
(file)
--- a/
lib/Analysis/LoopInfo.cpp
+++ b/
lib/Analysis/LoopInfo.cpp
@@
-68,6
+68,10
@@
void Loop::print(std::ostream &OS) const {
getSubLoops()[i]->print(OS);
}
+void Loop::dump() const {
+ print(std::cerr);
+}
+
//===----------------------------------------------------------------------===//
// LoopInfo implementation