s/Method/Function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2180 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp
index 344e3a4..cd7768f 100644
--- a/lib/Analysis/LoopInfo.cpp
+++ b/lib/Analysis/LoopInfo.cpp
@@ -26,7 +26,7 @@
 //===----------------------------------------------------------------------===//
 // 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