Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 0e4f5b4ed7dc6b03c656624c2e696712f81636d5..010c1860707496ce851d2bde150aeeef876057c5 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -1228,7 +1228,8 @@ RUNTIME_FUNCTION(Runtime_HasComplexElements) { |
return isolate->heap()->true_value(); |
} |
if (!current->HasDictionaryElements()) continue; |
- if (current->element_dictionary()->HasComplexElements()) { |
+ if (current->element_dictionary() |
+ ->HasComplexElements<DictionaryEntryType::kObjects>()) { |
return isolate->heap()->true_value(); |
} |
} |