| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index 1780abe15f25323351f9289b06d0e3211468c2ce..555e049af44d6fe5d32a55951ad571135b1796c4 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -188,7 +188,7 @@ class FunctionTester : public InitializedHandleScope {
|
| if (flags_ & CompilationInfo::kInliningEnabled) {
|
| info.MarkAsInliningEnabled();
|
| }
|
| - if (function->shared()->HasBytecodeArray()) {
|
| + if (FLAG_turbo_from_bytecode && function->shared()->HasBytecodeArray()) {
|
| info.MarkAsOptimizeFromBytecode();
|
| } else {
|
| CHECK(Compiler::Analyze(info.parse_info()));
|
|
|