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

Unified Diff: src/type-feedback-vector-inl.h

Issue 2677193002: [turbofan] Also count megamorphic ICs as ICs with feedback. (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-feedback-vector-inl.h
diff --git a/src/type-feedback-vector-inl.h b/src/type-feedback-vector-inl.h
index 43f055b7bd6f8af19a4b67e6fc9bc1eabb856b62..4b363ecf38ea55f48c1163db0036caf066ee9347 100644
--- a/src/type-feedback-vector-inl.h
+++ b/src/type-feedback-vector-inl.h
@@ -185,6 +185,7 @@ void TypeFeedbackVector::ComputeCounts(int* with_type_info, int* generic,
with++;
} else if (obj == megamorphic_sentinel) {
gen++;
+ if (code_is_interpreted) with++;
}
total++;
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698