From b28b6801551d44108f6d7c08383a69e1a1010d2f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 23 Jul 2002 18:06:35 +0000 Subject: *** empty log message *** llvm-svn: 3016 --- llvm/lib/Transforms/Scalar/ADCE.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/lib/Transforms/Scalar/ADCE.cpp') diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp index 35189e36838..d70980e2078 100644 --- a/llvm/lib/Transforms/Scalar/ADCE.cpp +++ b/llvm/lib/Transforms/Scalar/ADCE.cpp @@ -43,8 +43,6 @@ class ADCE : public FunctionPass { // The public interface for this class // public: - const char *getPassName() const { return "Aggressive Dead Code Elimination"; } - // Execute the Aggressive Dead Code Elimination Algorithm // virtual bool runOnFunction(Function &F) { @@ -86,11 +84,11 @@ private: } }; + RegisterPass X("adce", "Aggressive Dead Code Elimination"); } // End of anonymous namespace Pass *createAggressiveDCEPass() { return new ADCE(); } - void ADCE::markBlockAlive(BasicBlock *BB) { // Mark the basic block as being newly ALIVE... and mark all branches that // this block is control dependant on as being alive also... -- cgit v1.2.3