From b44523bd9d8975e9ce7e6ac1360fbe8d447bff3a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 18 Oct 2001 05:21:56 +0000 Subject: Convert to new simpler pass structure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@877 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/FunctionInlining.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/Transforms/FunctionInlining.h') diff --git a/include/llvm/Transforms/FunctionInlining.h b/include/llvm/Transforms/FunctionInlining.h index 5a87c1b8e5..373708d6b0 100644 --- a/include/llvm/Transforms/FunctionInlining.h +++ b/include/llvm/Transforms/FunctionInlining.h @@ -13,13 +13,13 @@ class CallInst; namespace opt { -struct MethodInlining : public StatelessPass { +struct MethodInlining : public Pass { // DoMethodInlining - Use a heuristic based approach to inline methods that // seem to look good. // static bool doMethodInlining(Method *M); - inline static bool doPerMethodWork(Method *M) { + virtual bool doPerMethodWork(Method *M) { return doMethodInlining(M); } }; -- cgit v1.2.3