| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 00e513ba880daa3fb9158af71cf57d6a91d1ace7..f51d226d4d4c282b0973c7514038d93d992bcc08 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -2996,10 +2996,6 @@ bool Heap::CreateInitialObjects() {
|
| NameDictionary::Allocate(this, Runtime::kNumFunctions);
|
| if (!maybe_obj->ToObject(&obj)) return false;
|
| }
|
| - { MaybeObject* maybe_obj = Runtime::InitializeIntrinsicFunctionNames(this,
|
| - obj);
|
| - if (!maybe_obj->ToObject(&obj)) return false;
|
| - }
|
| set_intrinsic_function_names(NameDictionary::cast(obj));
|
|
|
| { MaybeObject* maybe_obj = AllocateInitialNumberStringCache();
|
| @@ -6180,6 +6176,11 @@ bool Heap::CreateHeapObjects() {
|
| array_buffers_list_ = undefined_value();
|
| allocation_sites_list_ = undefined_value();
|
| weak_object_to_code_table_ = undefined_value();
|
| +
|
| + HandleScope scope(isolate());
|
| + Runtime::InitializeIntrinsicFunctionNames(
|
| + isolate(), handle(intrinsic_function_names(), isolate()));
|
| +
|
| return true;
|
| }
|
|
|
|
|