| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index b93db2478e0af3db40d2cf1374040006b1dd1abd..1787703ece51762cd522775fd5b2b8a56e8ca21a 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -8186,6 +8186,7 @@ bool HOptimizedGraphBuilder::TryInline(Handle<JSFunction> target,
|
| BailoutId ast_id, BailoutId return_id,
|
| InliningKind inlining_kind,
|
| TailCallMode syntactic_tail_call_mode) {
|
| + bool collect_feedback_from_ignition = !target->shared()->HasBaselineCode();
|
| if (target->context()->native_context() !=
|
| top_info()->closure()->context()->native_context()) {
|
| return false;
|
| @@ -8341,7 +8342,7 @@ bool HOptimizedGraphBuilder::TryInline(Handle<JSFunction> target,
|
| DCHECK(target_shared->has_deoptimization_support());
|
| AstTyper(target_info.isolate(), target_info.zone(), target_info.closure(),
|
| target_info.scope(), target_info.osr_ast_id(), target_info.literal(),
|
| - &bounds_)
|
| + &bounds_, collect_feedback_from_ignition)
|
| .Run();
|
|
|
| int inlining_id = 0;
|
|
|