Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 0d803590d7cca1761b0081eb65348ebfb3abb42f..2140af222c477b4c4c093bad47c368e70d66a8f0 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -1120,8 +1120,8 @@ void TypeSwitchInfo::TypeSwitchInfoPrint(FILE* out) { |
void AllocationSite::AllocationSitePrint(FILE* out) { |
HeapObject::PrintHeader(out, "AllocationSite"); |
PrintF(out, " - payload: "); |
Hannes Payer (out of office)
2013/07/08 14:50:55
payload should be transition info
mvstanton
2013/07/08 15:06:31
Done.
|
- if (payload()->IsCell()) { |
- Cell* cell = Cell::cast(payload()); |
+ if (transition_info()->IsCell()) { |
+ Cell* cell = Cell::cast(transition_info()); |
Object* cell_contents = cell->value(); |
if (cell_contents->IsSmi()) { |
ElementsKind kind = static_cast<ElementsKind>( |
@@ -1131,15 +1131,15 @@ void AllocationSite::AllocationSitePrint(FILE* out) { |
PrintF(out, "\n"); |
return; |
} |
- } else if (payload()->IsJSArray()) { |
+ } else if (transition_info()->IsJSArray()) { |
PrintF(out, "Array literal "); |
- payload()->ShortPrint(out); |
+ transition_info()->ShortPrint(out); |
PrintF(out, "\n"); |
return; |
} |
- PrintF(out, "unknown payload "); |
- payload()->ShortPrint(out); |
+ PrintF(out, "unknown transition_info"); |
+ transition_info()->ShortPrint(out); |
PrintF(out, "\n"); |
} |