Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 357d984a13121bca7719693c38fd6c8ec55ce74c..38b763374f3f791251c84831a71f9ef25991adfa 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -1090,8 +1090,8 @@ void TypeSwitchInfo::TypeSwitchInfoPrint(FILE* out) { |
} |
-void AllocationSiteInfo::AllocationSiteInfoPrint(FILE* out) { |
- HeapObject::PrintHeader(out, "AllocationSiteInfo"); |
+void AllocationSite::AllocationSitePrint(FILE* out) { |
+ HeapObject::PrintHeader(out, "AllocationSite"); |
PrintF(out, " - payload: "); |
if (payload()->IsJSGlobalPropertyCell()) { |
JSGlobalPropertyCell* cell = JSGlobalPropertyCell::cast(payload()); |
@@ -1117,6 +1117,13 @@ void AllocationSiteInfo::AllocationSiteInfoPrint(FILE* out) { |
} |
+void AllocationSiteInfo::AllocationSiteInfoPrint(FILE* out) { |
+ HeapObject::PrintHeader(out, "AllocationSiteInfo"); |
+ PrintF(out, " - payload: "); |
Hannes Payer (out of office)
2013/06/25 16:35:07
Why don't we call payload AllocationSite? That wou
mvstanton
2013/07/02 13:55:11
Done, but the type has to remain object because it
|
+ AllocationSite::cast(payload())->Print(); |
+} |
+ |
+ |
void Script::ScriptPrint(FILE* out) { |
HeapObject::PrintHeader(out, "Script"); |
PrintF(out, "\n - source: "); |