s/Method/Function
[oota-llvm.git] / lib / Target / SparcV9 / InstrSched / InstrScheduling.cpp
index 31eca3903b106c7375b2fbc66fb9f49f84e803bd..69813c744e5e24ae766933d47ea1bffdf68fa198 100644 (file)
@@ -1504,13 +1504,13 @@ namespace {
       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;