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

Unified Diff: src/objects-printer.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-inl.h ('k') | src/objects/literal-objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index 8974f2815c017c24fdb9234c68c26a40854dc1df..b4fbb4db15363561f35b37debaefa1ce0ab8c74f 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -599,14 +599,6 @@ void Map::MapPrint(std::ostream& os) { // NOLINT
}
-void TypeFeedbackInfo::TypeFeedbackInfoPrint(std::ostream& os) { // NOLINT
- HeapObject::PrintHeader(os, "TypeFeedbackInfo");
- os << "\n - ic_total_count: " << ic_total_count()
- << ", ic_with_type_info_count: " << ic_with_type_info_count()
- << ", ic_generic_count: " << ic_generic_count() << "\n";
-}
-
-
void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(
std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "AliasedArgumentsEntry");
@@ -1338,14 +1330,6 @@ void ContextExtension::ContextExtensionPrint(std::ostream& os) { // NOLINT
os << "\n";
}
-void ConstantElementsPair::ConstantElementsPairPrint(
- std::ostream& os) { // NOLINT
- HeapObject::PrintHeader(os, "ConstantElementsPair");
- os << "\n - elements_kind: " << static_cast<ElementsKind>(elements_kind());
- os << "\n - constant_values: " << Brief(constant_values());
- os << "\n";
-}
-
void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "AccessorPair");
os << "\n - getter: " << Brief(getter());
@@ -1376,14 +1360,6 @@ void InterceptorInfo::InterceptorInfoPrint(std::ostream& os) { // NOLINT
}
-void CallHandlerInfo::CallHandlerInfoPrint(std::ostream& os) { // NOLINT
- HeapObject::PrintHeader(os, "CallHandlerInfo");
- os << "\n - callback: " << Brief(callback());
- os << "\n - data: " << Brief(data());
- os << "\n";
-}
-
-
void FunctionTemplateInfo::FunctionTemplateInfoPrint(
std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "FunctionTemplateInfo");
@@ -1485,13 +1461,6 @@ void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT
}
-void BreakPointInfo::BreakPointInfoPrint(std::ostream& os) { // NOLINT
- HeapObject::PrintHeader(os, "BreakPointInfo");
- os << "\n - source_position: " << source_position();
- os << "\n - break_point_objects: " << Brief(break_point_objects());
- os << "\n";
-}
-
void StackFrameInfo::StackFrameInfoPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "StackFrame");
os << "\n - line_number: " << line_number();
« no previous file with comments | « src/objects-inl.h ('k') | src/objects/literal-objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698