aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 22:03:57 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 22:03:57 +0000
commitb7653df0853f06112b741be09f1b7ae5a6aa6fde (patch)
treea1e93978838a2c98fa8e3e1293d25055952c975b /lib/Analysis/LoopInfo.cpp
parent75cf7cf00d391ac6ca22d6240fa9d99ed427d1d5 (diff)
s/Method/Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r--lib/Analysis/LoopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp
index 344e3a446b..cd7768f182 100644
--- a/lib/Analysis/LoopInfo.cpp
+++ b/lib/Analysis/LoopInfo.cpp
@@ -26,7 +26,7 @@ bool cfg::Loop::contains(const BasicBlock *BB) const {
//===----------------------------------------------------------------------===//
// cfg::LoopInfo implementation
//
-bool cfg::LoopInfo::runOnMethod(Method *M) {
+bool cfg::LoopInfo::runOnMethod(Function *F) {
BBMap.clear(); // Reset internal state of analysis
TopLevelLoops.clear();
Calculate(getAnalysis<DominatorSet>()); // Update