| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 3a79711406e147b2126aea237538afd9632f5175..92c099618b95ce00177e1c4401bc39f553483533 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -3901,7 +3901,9 @@ void Genesis::InitializeGlobal_harmony_sharedarraybuffer() {
|
| Builtins::kSharedArrayBufferPrototypeGetByteLength,
|
| BuiltinFunctionId::kSharedArrayBufferByteLength,
|
| Builtins::kSharedArrayBufferPrototypeSlice);
|
| - native_context()->set_shared_array_buffer_fun(*shared_array_buffer_fun);
|
| + InstallWithIntrinsicDefaultProto(isolate, shared_array_buffer_fun,
|
| + Context::SHARED_ARRAY_BUFFER_FUN_INDEX);
|
| + InstallSpeciesGetter(shared_array_buffer_fun);
|
|
|
| Handle<String> name = factory->InternalizeUtf8String("Atomics");
|
| Handle<JSFunction> cons = factory->NewFunction(name);
|
|
|