Prototype these functions more accurately
[oota-llvm.git] / lib / Transforms / Scalar / ADCE.cpp
index 4bd24972d5dd3021952391e7d982c539d1885af5..7fafe26d4a9affc74ac7d4ed41c212db362a61c6 100644 (file)
@@ -106,7 +106,7 @@ private:
   RegisterOpt<ADCE> X("adce", "Aggressive Dead Code Elimination");
 } // End of anonymous namespace
 
-Pass *llvm::createAggressiveDCEPass() { return new ADCE(); }
+FunctionPass *llvm::createAggressiveDCEPass() { return new ADCE(); }
 
 void ADCE::markBlockAlive(BasicBlock *BB) {
   // Mark the basic block as being newly ALIVE... and mark all branches that