Changes in directory llvm/lib/Transforms/IPO:
ArgumentPromotion.cpp updated: 1.33 -> 1.34 InlineSimple.cpp updated: 1.76 -> 1.77 PruneEH.cpp updated: 1.26 -> 1.27 --- Log message: Inherit CallGraphSCCPass directly from Pass. --- Diffs of the changes: (+3 -3) ArgumentPromotion.cpp | 2 +- InlineSimple.cpp | 2 +- PruneEH.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp diff -u llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:1.33 llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:1.34 --- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:1.33 Sat Dec 30 23:48:39 2006 +++ llvm/lib/Transforms/IPO/ArgumentPromotion.cpp Thu Jan 25 18:47:38 2007 @@ -72,7 +72,7 @@ "Promote 'by reference' arguments to scalars"); } -ModulePass *llvm::createArgumentPromotionPass() { +Pass *llvm::createArgumentPromotionPass() { return new ArgPromotion(); } Index: llvm/lib/Transforms/IPO/InlineSimple.cpp diff -u llvm/lib/Transforms/IPO/InlineSimple.cpp:1.76 llvm/lib/Transforms/IPO/InlineSimple.cpp:1.77 --- llvm/lib/Transforms/IPO/InlineSimple.cpp:1.76 Sun Nov 26 19:05:10 2006 +++ llvm/lib/Transforms/IPO/InlineSimple.cpp Thu Jan 25 18:47:38 2007 @@ -58,7 +58,7 @@ RegisterPass<SimpleInliner> X("inline", "Function Integration/Inlining"); } -ModulePass *llvm::createFunctionInliningPass() { return new SimpleInliner(); } +Pass *llvm::createFunctionInliningPass() { return new SimpleInliner(); } // CountCodeReductionForConstant - Figure out an approximation for how many // instructions will be constant folded if the specified value is constant. Index: llvm/lib/Transforms/IPO/PruneEH.cpp diff -u llvm/lib/Transforms/IPO/PruneEH.cpp:1.26 llvm/lib/Transforms/IPO/PruneEH.cpp:1.27 --- llvm/lib/Transforms/IPO/PruneEH.cpp:1.26 Tue Dec 19 16:09:18 2006 +++ llvm/lib/Transforms/IPO/PruneEH.cpp Thu Jan 25 18:47:38 2007 @@ -50,7 +50,7 @@ RegisterPass<PruneEH> X("prune-eh", "Remove unused exception handling info"); } -ModulePass *llvm::createPruneEHPass() { return new PruneEH(); } +Pass *llvm::createPruneEHPass() { return new PruneEH(); } bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits