Implement a more powerful, simpler, pass system. This pass system can figure
[oota-llvm.git] / lib / Analysis / IPA / FindUnsafePointerTypes.cpp
index 1058e6ed39bc1a2b4fbfbfa88f1dfda1354a946c..85b5da8ce2ef936911d1d614649302156d8b9a3e 100644 (file)
@@ -45,11 +45,11 @@ static inline bool isSafeInstruction(const Instruction *I) {
 }
 
 
-// doPerMethodWork - Inspect the operations that the specified method does on
+// runOnMethod - Inspect the operations that the specified method does on
 // values of various types.  If they are deemed to be 'unsafe' note that the
 // type is not safe to transform.
 //
-bool FindUnsafePointerTypes::doPerMethodWork(Method *Meth) {
+bool FindUnsafePointerTypes::runOnMethod(Method *Meth) {
   const Method *M = Meth;  // We don't need/want write access
   for (Method::const_inst_iterator I = M->inst_begin(), E = M->inst_end();
        I != E; ++I) {