Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.69 -> 1.70 --- Log message: Inherit BasicBlockPass directly from Pass. --- Diffs of the changes: (+3 -3) Scalar.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/include/llvm/Transforms/Scalar.h diff -u llvm/include/llvm/Transforms/Scalar.h:1.69 llvm/include/llvm/Transforms/Scalar.h:1.70 --- llvm/include/llvm/Transforms/Scalar.h:1.69 Fri Oct 13 15:53:50 2006 +++ llvm/include/llvm/Transforms/Scalar.h Thu Jan 25 17:23:25 2007 @@ -19,8 +19,8 @@ namespace llvm { -class ModulePass; class FunctionPass; +class Pass; class GetElementPtrInst; class PassInfo; class TerminatorInst; @@ -52,7 +52,7 @@ // without modifying the CFG of the function. It is a BasicBlockPass, so it // runs efficiently when queued next to other BasicBlockPass's. // -FunctionPass *createDeadInstEliminationPass(); +Pass *createDeadInstEliminationPass(); //===----------------------------------------------------------------------===// // @@ -249,7 +249,7 @@ // // AU.addRequiredID(LowerAllocationsID); // -FunctionPass *createLowerAllocationsPass(bool LowerMallocArgToInteger = false); +Pass *createLowerAllocationsPass(bool LowerMallocArgToInteger = false); extern const PassInfo *LowerAllocationsID; //===----------------------------------------------------------------------===// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits