diff options
Diffstat (limited to 'include/llvm/Transforms/Scalar/InstructionCombining.h')
-rw-r--r-- | include/llvm/Transforms/Scalar/InstructionCombining.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/llvm/Transforms/Scalar/InstructionCombining.h b/include/llvm/Transforms/Scalar/InstructionCombining.h index 0c395720e6..37b49858ba 100644 --- a/include/llvm/Transforms/Scalar/InstructionCombining.h +++ b/include/llvm/Transforms/Scalar/InstructionCombining.h @@ -15,14 +15,7 @@ #ifndef LLVM_TRANSFORMS_SCALAR_INSTRUCTIONCOMBINING_H #define LLVM_TRANSFORMS_SCALAR_INSTRUCTIONCOMBINING_H -#include "llvm/Pass.h" -class Instruction; - -struct InstructionCombining : public MethodPass { - static bool doit(Method *M); - static bool CombineInstruction(Instruction *I); - - virtual bool runOnMethod(Method *M) { return doit(M); } -}; +class Pass; +Pass *createInstructionCombiningPass(); #endif |