Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 1c84bcf7b7a02154b8128cc5d855af253b4111a8..28a30bede3868eda73dca4811da1ada68915b5de 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -552,9 +552,6 @@ PipelineCompilationJob::Status PipelineCompilationJob::PrepareJobImpl() { |
if (!FLAG_always_opt) { |
info()->MarkAsBailoutOnUninitialized(); |
} |
- if (FLAG_turbo_inlining) { |
- info()->MarkAsInliningEnabled(); |
- } |
} |
if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { |
info()->MarkAsDeoptimizationEnabled(); |
@@ -564,6 +561,8 @@ PipelineCompilationJob::Status PipelineCompilationJob::PrepareJobImpl() { |
} |
if (!info()->is_optimizing_from_bytecode()) { |
if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED; |
+ } else if (FLAG_turbo_inlining) { |
+ info()->MarkAsInliningEnabled(); |
} |
linkage_ = new (&zone_) Linkage(Linkage::ComputeIncoming(&zone_, info())); |