Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index a86bfa3701c129d013fd6587b1daaf2dacf32c4d..e058affcf4abda93282fe3c9f74fdee6a9e13d1f 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -10021,8 +10021,7 @@ class ArrayConcatVisitor { |
ASSERT(fast_elements_); |
Handle<FixedArray> current_storage(*storage_); |
Handle<SeededNumberDictionary> slow_storage( |
- isolate_->factory()->NewSeededNumberDictionary( |
- current_storage->length())); |
+ SeededNumberDictionary::New(isolate_, current_storage->length())); |
uint32_t current_length = static_cast<uint32_t>(current_storage->length()); |
for (uint32_t i = 0; i < current_length; i++) { |
HandleScope loop_scope(isolate_); |
@@ -10563,7 +10562,7 @@ RUNTIME_FUNCTION(Runtime_ArrayConcat) { |
uint32_t at_least_space_for = estimate_nof_elements + |
(estimate_nof_elements >> 2); |
storage = Handle<FixedArray>::cast( |
- isolate->factory()->NewSeededNumberDictionary(at_least_space_for)); |
+ SeededNumberDictionary::New(isolate, at_least_space_for)); |
} |
ArrayConcatVisitor visitor(isolate, storage, fast_case); |