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