[llvm-commits] CVS: llvm/include/llvm/CallGraphSCCPass.h

Devang Patel dpatel at apple.com
Thu Jan 25 17:08:37 PST 2007



Changes in directory llvm/include/llvm:

CallGraphSCCPass.h updated: 1.9 -> 1.10
---
Log message:

Remove dead code. 
CallGraphSCCPass does not need to implement runOnModule().
It supports runOnSCC().


---
Diffs of the changes:  (+0 -5)

 CallGraphSCCPass.h |    5 -----
 1 files changed, 5 deletions(-)


Index: llvm/include/llvm/CallGraphSCCPass.h
diff -u llvm/include/llvm/CallGraphSCCPass.h:1.9 llvm/include/llvm/CallGraphSCCPass.h:1.10
--- llvm/include/llvm/CallGraphSCCPass.h:1.9	Thu Jan 25 18:47:38 2007
+++ llvm/include/llvm/CallGraphSCCPass.h	Thu Jan 25 19:08:18 2007
@@ -50,11 +50,6 @@
     return false;
   }
 
-  /// run - Run this pass, returning true if a modification was made to the
-  /// module argument.  This is implemented in terms of the runOnSCC method.
-  ///
-  virtual bool runOnModule(Module &M);
-
   /// Assign pass manager to manager this pass
   virtual void assignPassManager(PMStack &PMS,
 				 PassManagerType PMT = PMT_CallGraphPassManager);






More information about the llvm-commits mailing list