[llvm-commits] CVS: llvm/lib/Transforms/Scalar/DCE.cpp

Devang Patel dpatel at apple.com
Thu Jan 25 15:23:44 PST 2007



Changes in directory llvm/lib/Transforms/Scalar:

DCE.cpp updated: 1.61 -> 1.62
---
Log message:

Inherit BasicBlockPass directly from Pass.


---
Diffs of the changes:  (+1 -1)

 DCE.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/DCE.cpp
diff -u llvm/lib/Transforms/Scalar/DCE.cpp:1.61 llvm/lib/Transforms/Scalar/DCE.cpp:1.62
--- llvm/lib/Transforms/Scalar/DCE.cpp:1.61	Tue Dec 19 15:40:18 2006
+++ llvm/lib/Transforms/Scalar/DCE.cpp	Thu Jan 25 17:23:25 2007
@@ -53,7 +53,7 @@
   RegisterPass<DeadInstElimination> X("die", "Dead Instruction Elimination");
 }
 
-FunctionPass *llvm::createDeadInstEliminationPass() {
+Pass *llvm::createDeadInstEliminationPass() {
   return new DeadInstElimination();
 }
 






More information about the llvm-commits mailing list