Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: src/crankshaft/hydrogen.cc

Issue 2361043002: [Ignition] Use binary operation feedback from Ignition to Crankshaft. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/crankshaft/typing.h » ('j') | src/type-feedback-vector-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/crankshaft/typing.h » ('j') | src/type-feedback-vector-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698