| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index 7a300efe0ee621f79b4621a903913b0d9149449a..a5ac840435ff027b73f72a0b3d77c798d63ce9b8 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -229,6 +229,7 @@ ScriptCompiler::CachedData* CompileForCachedData(
|
| ShellArrayBufferAllocator allocator;
|
| Isolate::CreateParams create_params;
|
| create_params.array_buffer_allocator = &allocator;
|
| + create_params.shared_array_buffer_allocator = &allocator;
|
| Isolate* temp_isolate = Isolate::New(create_params);
|
| ScriptCompiler::CachedData* result = NULL;
|
| {
|
| @@ -1324,6 +1325,7 @@ void SourceGroup::ExecuteInThread() {
|
| ShellArrayBufferAllocator allocator;
|
| Isolate::CreateParams create_params;
|
| create_params.array_buffer_allocator = &allocator;
|
| + create_params.shared_array_buffer_allocator = &allocator;
|
| Isolate* isolate = Isolate::New(create_params);
|
| do {
|
| next_semaphore_.Wait();
|
| @@ -1655,8 +1657,10 @@ int Shell::Main(int argc, char* argv[]) {
|
| MockArrayBufferAllocator mock_arraybuffer_allocator;
|
| if (options.mock_arraybuffer_allocator) {
|
| create_params.array_buffer_allocator = &mock_arraybuffer_allocator;
|
| + create_params.shared_array_buffer_allocator = &mock_arraybuffer_allocator;
|
| } else {
|
| create_params.array_buffer_allocator = &array_buffer_allocator;
|
| + create_params.shared_array_buffer_allocator = &array_buffer_allocator;
|
| }
|
| #if !defined(V8_SHARED) && defined(ENABLE_GDB_JIT_INTERFACE)
|
| if (i::FLAG_gdbjit) {
|
|
|