Factory methods for function passes now return type FunctionPass *.
[oota-llvm.git] / include / llvm / CodeGen / PeepholeOpts.h
index fc3254dc67b5993c458add109a4f8ffabab52438..2cbc7782f578e607fa3e75d3a3514e7d66f0243f 100644 (file)
@@ -8,8 +8,8 @@
 #define LLVM_CODEGEN_PEEPHOLE_OPTS_H
 
 class TargetMachine;
-class Pass;
+class FunctionPass;
 
-Pass *createPeepholeOptsPass(TargetMachine &Target);
+FunctionPass *createPeepholeOptsPass(TargetMachine &Target);
 
 #endif