| Index: src/objects-printer.cc
|
| ===================================================================
|
| --- src/objects-printer.cc (revision 8618)
|
| +++ src/objects-printer.cc (working copy)
|
| @@ -359,6 +359,15 @@
|
| case DICTIONARY_ELEMENTS:
|
| elements()->Print(out);
|
| break;
|
| + case NON_STRICT_ARGUMENTS_ELEMENTS: {
|
| + FixedArray* p = FixedArray::cast(elements());
|
| + for (int i = 2; i < p->length(); i++) {
|
| + PrintF(out, " %d: ", i);
|
| + p->get(i)->ShortPrint(out);
|
| + PrintF(out, "\n");
|
| + }
|
| + break;
|
| + }
|
| default:
|
| UNREACHABLE();
|
| break;
|
| @@ -481,6 +490,13 @@
|
| }
|
|
|
|
|
| +void PolymorphicCodeCache::PolymorphicCodeCachePrint(FILE* out) {
|
| + HeapObject::PrintHeader(out, "PolymorphicCodeCache");
|
| + PrintF(out, "\n - cache: ");
|
| + cache()->ShortPrint(out);
|
| +}
|
| +
|
| +
|
| void FixedArray::FixedArrayPrint(FILE* out) {
|
| HeapObject::PrintHeader(out, "FixedArray");
|
| PrintF(out, " - length: %d", length());
|
|
|