diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-03 22:10:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-03 22:10:52 +0000 |
commit | 0f99555ce4bba502e5213d83c405e88c7b35c628 (patch) | |
tree | 49b7af1f0572edd547a8052e45bec2d7081eca35 /lib/Analysis | |
parent | a51b767df42019eb155281f3a64a16593c14f7e9 (diff) | |
download | external_llvm-0f99555ce4bba502e5213d83c405e88c7b35c628.zip external_llvm-0f99555ce4bba502e5213d83c405e88c7b35c628.tar.gz external_llvm-0f99555ce4bba502e5213d83c405e88c7b35c628.tar.bz2 |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index d99f0f7..29558da 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -18,7 +18,7 @@ AnalysisID LoopInfo::ID(AnalysisID::create<LoopInfo>(), true); //===----------------------------------------------------------------------===// // Loop implementation // -bool Loop::contains(BasicBlock *BB) const { +bool Loop::contains(const BasicBlock *BB) const { return find(Blocks.begin(), Blocks.end(), BB) != Blocks.end(); } |