s/Method/Function

llvm-svn: 2180
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 31eca39..69813c7 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -1504,13 +1504,13 @@
       Destroyed.push_back(MethodLiveVarInfo::ID);
     }
     
-    bool runOnMethod(Method *M);
+    bool runOnMethod(Function *F);
   };
 } // end anonymous namespace
 
 
 bool
-InstructionSchedulingWithSSA::runOnMethod(Method *M)
+InstructionSchedulingWithSSA::runOnMethod(Function *M)
 {
   if (SchedDebugLevel == Sched_Disable)
     return false;