Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 7cb96aae558e480cc48f2e6033d505eaf4ce795c..a5c5e82123af76fb0bd8b4a0023d6ef6e2dae99a 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -380,7 +380,7 @@ void JSObject::PrintElements(std::ostream& os) { // NOLINT |
case DICTIONARY_ELEMENTS: |
case SLOW_STRING_WRAPPER_ELEMENTS: |
- elements()->Print(os); |
+ SeededNumberDictionary::cast(elements())->Print(os); |
break; |
case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: { |