| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index d71969ec1cc243f84b213521278169eb8a658dcf..b94d818081673e514aa3303b42dd57e54f3c3106 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -188,6 +188,9 @@ class FunctionTester : public InitializedHandleScope {
|
| if (flags_ & CompilationInfo::kInliningEnabled) {
|
| info.MarkAsInliningEnabled();
|
| }
|
| + if (function->shared()->HasBytecodeArray()) {
|
| + info.MarkAsOptimizeFromBytecode();
|
| + }
|
| CHECK(Compiler::Analyze(info.parse_info()));
|
| CHECK(Compiler::EnsureDeoptimizationSupport(&info));
|
|
|
|
|