[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h
    Devang Patel 
    dpatel at apple.com
       
    Thu Jan 25 16:47:59 PST 2007
    
    
  
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.46 -> 1.47
---
Log message:
Inherit CallGraphSCCPass directly from Pass.
---
Diffs of the changes:  (+4 -3)
 IPO.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.46 llvm/include/llvm/Transforms/IPO.h:1.47
--- llvm/include/llvm/Transforms/IPO.h:1.46	Thu Jul 20 12:48:05 2006
+++ llvm/include/llvm/Transforms/IPO.h	Thu Jan 25 18:47:38 2007
@@ -21,6 +21,7 @@
 
 class FunctionPass;
 class ModulePass;
+class Pass;
 class Function;
 class BasicBlock;
 
@@ -101,13 +102,13 @@
 /// createFunctionInliningPass - Return a new pass object that uses a heuristic
 /// to inline direct function calls to small functions.
 ///
-ModulePass *createFunctionInliningPass();
+Pass *createFunctionInliningPass();
 
 //===----------------------------------------------------------------------===//
 /// createPruneEHPass - Return a new pass object which transforms invoke
 /// instructions into calls, if the callee can _not_ unwind the stack.
 ///
-ModulePass *createPruneEHPass();
+Pass *createPruneEHPass();
 
 //===----------------------------------------------------------------------===//
 /// createInternalizePass - This pass loops over all of the functions in the
@@ -134,7 +135,7 @@
 /// createArgumentPromotionPass - This pass promotes "by reference" arguments to
 /// be passed by value.
 ///
-ModulePass *createArgumentPromotionPass();
+Pass *createArgumentPromotionPass();
 
 //===----------------------------------------------------------------------===//
 /// createIPConstantPropagationPass - This pass propagates constants from call
    
    
More information about the llvm-commits
mailing list