diff options
Diffstat (limited to 'chromium/v8/src/heap/heap.cc')
-rw-r--r-- | chromium/v8/src/heap/heap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/v8/src/heap/heap.cc b/chromium/v8/src/heap/heap.cc index 7983d478973..f93adb8b6b8 100644 --- a/chromium/v8/src/heap/heap.cc +++ b/chromium/v8/src/heap/heap.cc @@ -2753,7 +2753,7 @@ void Heap::CreateInitialObjects() { set_intrinsic_function_names(*intrinsic_names); Handle<NameDictionary> empty_properties_dictionary = - NameDictionary::New(isolate(), 0, TENURED); + NameDictionary::NewEmpty(isolate(), TENURED); empty_properties_dictionary->SetRequiresCopyOnCapacityChange(); set_empty_properties_dictionary(*empty_properties_dictionary); @@ -2850,7 +2850,7 @@ void Heap::CreateInitialObjects() { set_script_list(Smi::FromInt(0)); Handle<SeededNumberDictionary> slow_element_dictionary = - SeededNumberDictionary::New(isolate(), 0, TENURED); + SeededNumberDictionary::NewEmpty(isolate(), TENURED); slow_element_dictionary->set_requires_slow_elements(); set_empty_slow_element_dictionary(*slow_element_dictionary); |