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

Unified Diff: src/objects-printer.cc

Issue 650073002: vector-based ICs did not update type feedback counts correctly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 2 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
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index 83e895108179d1fd83be71580dc2476efe3491d5..02229c708a6d277fc8fc1f3577ee4789e0fccc64 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -481,7 +481,8 @@ void PolymorphicCodeCache::PolymorphicCodeCachePrint(
void TypeFeedbackInfo::TypeFeedbackInfoPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "TypeFeedbackInfo");
- os << " - ic_total_count: " << ic_total_count()
+ os << "feedback_vector: " << Brief(feedback_vector());
+ os << "\n - ic_total_count: " << ic_total_count()
Jakob Kummerow 2014/10/14 15:27:20 nit: no need to repeat "os", just keep streaming (
mvstanton 2014/10/16 10:54:14 Done.
<< ", ic_with_type_info_count: " << ic_with_type_info_count()
<< ", ic_generic_count: " << ic_generic_count() << "\n";
}

Powered by Google App Engine
This is Rietveld 408576698