diff options
author | Dan Gohman <gohman@apple.com> | 2010-01-05 21:08:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-01-05 21:08:02 +0000 |
commit | dda30cd4af1c5f88fc00fd40b673f8e27c61379d (patch) | |
tree | 769df0939af35cc35521403730d0c4b93452fc8a /include/llvm/Analysis | |
parent | 8c65f6e71c1d46d823b9a884819992a9255edd54 (diff) | |
download | external_llvm-dda30cd4af1c5f88fc00fd40b673f8e27c61379d.zip external_llvm-dda30cd4af1c5f88fc00fd40b673f8e27c61379d.tar.gz external_llvm-dda30cd4af1c5f88fc00fd40b673f8e27c61379d.tar.bz2 |
Restore dump() methods to Loop and MachineLoop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 060286f..33bf0b0 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -478,7 +478,7 @@ public: for (iterator I = begin(), E = end(); I != E; ++I) (*I)->print(OS, Depth+2); } - + protected: friend class LoopInfoBase<BlockT, LoopT>; explicit LoopBase(BlockT *BB) : ParentLoop(0) { @@ -588,6 +588,8 @@ public: /// block, return that block. Otherwise return null. BasicBlock *getUniqueExitBlock() const; + void dump() const; + private: friend class LoopInfoBase<BasicBlock, Loop>; explicit Loop(BasicBlock *BB) : LoopBase<BasicBlock, Loop>(BB) {} |