Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index dca500e793c0f48c803a8aff6fe754452a647f1e..158789e0da1f330e1291f28d77f227cd6358c6ad 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -351,6 +351,15 @@ void JSObject::PrintElements(FILE* out) { |
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; |