diff options
Diffstat (limited to 'include/llvm/Transforms/Scalar/IndVarSimplify.h')
-rw-r--r-- | include/llvm/Transforms/Scalar/IndVarSimplify.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Scalar/IndVarSimplify.h b/include/llvm/Transforms/Scalar/IndVarSimplify.h index 00a43b5ab8..13f811994b 100644 --- a/include/llvm/Transforms/Scalar/IndVarSimplify.h +++ b/include/llvm/Transforms/Scalar/IndVarSimplify.h @@ -10,10 +10,10 @@ #include "llvm/Pass.h" -struct InductionVariableSimplify : public Pass { +struct InductionVariableSimplify : public MethodPass { static bool doit(Method *M); - virtual bool doPerMethodWork(Method *M) { return doit(M); } + virtual bool runOnMethod(Method *M) { return doit(M); } }; #endif |