Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 28a30bede3868eda73dca4811da1ada68915b5de..2185906182c91b3b09106259d6482db092f1b213 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -553,7 +553,8 @@ PipelineCompilationJob::Status PipelineCompilationJob::PrepareJobImpl() { |
info()->MarkAsBailoutOnUninitialized(); |
} |
} |
- if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { |
+ if (info()->is_optimizing_from_bytecode() || |
+ !info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { |
info()->MarkAsDeoptimizationEnabled(); |
if (FLAG_inline_accessors) { |
info()->MarkAsAccessorInliningEnabled(); |