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

Unified Diff: src/objects.cc

Issue 2811183005: Do not use new struct type where unnecessary. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index f88857332f7dae8245a8c456bb715e81efdd1e80..5c091163881ceecffbfc04fc63a5c4908326a150 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -14897,7 +14897,11 @@ void Code::Disassemble(const char* name, std::ostream& os) { // NOLINT
}
#ifdef OBJECT_PRINT
if (!type_feedback_info()->IsUndefined(GetIsolate())) {
- TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(os);
+ TypeFeedbackInfo* info = TypeFeedbackInfo::cast(type_feedback_info());
+ HeapObject::PrintHeader(os, "TypeFeedbackInfo");
+ os << "\n - ic_total_count: " << info->ic_total_count()
+ << ", ic_with_type_info_count: " << info->ic_with_type_info_count()
+ << ", ic_generic_count: " << info->ic_generic_count() << "\n";
os << "\n";
}
#endif
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698