Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 5fea38289612893321151348fc5fe072d15c39eb..b071a906db3517eab58d31e723259e102f246935 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -606,6 +606,9 @@ PipelineCompilationJob::Status PipelineCompilationJob::CreateGraphImpl() { |
info()->MarkAsDeoptimizationEnabled(); |
} |
if (!info()->is_optimizing_from_bytecode()) { |
+ if (FLAG_inline_accessors) { |
+ info()->MarkAsAccessorInliningEnabled(); |
+ } |
if (info()->is_deoptimization_enabled() && FLAG_turbo_type_feedback) { |
info()->MarkAsTypeFeedbackEnabled(); |
} |
@@ -796,6 +799,9 @@ struct InliningPhase { |
data->info()->dependencies()); |
JSNativeContextSpecialization::Flags flags = |
JSNativeContextSpecialization::kNoFlags; |
+ if (data->info()->is_accessor_inlining_enabled()) { |
+ flags |= JSNativeContextSpecialization::kAccessorInliningEnabled; |
+ } |
if (data->info()->is_bailout_on_uninitialized()) { |
flags |= JSNativeContextSpecialization::kBailoutOnUninitialized; |
} |