| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 3ea6c2ba812ef824b2ddadd4ee03040b062c3c94..4fee671ee2d2c93f284853ef1809fb264a04a390 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -538,7 +538,7 @@ PipelineCompilationJob::Status PipelineCompilationJob::CreateGraphImpl() {
|
| if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) {
|
| info()->MarkAsDeoptimizationEnabled();
|
| }
|
| - if (!info()->shared_info()->HasBytecodeArray()) {
|
| + if (!info()->is_optimizing_from_bytecode()) {
|
| if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED;
|
| }
|
|
|
|
|