| Index: src/runtime/runtime.h
|
| diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
|
| index 192e342d9b85f442f5ed879d8aef5a88eeaf84ba..4c29c16b4988c6cfd1c35a6fccb70da21616719d 100644
|
| --- a/src/runtime/runtime.h
|
| +++ b/src/runtime/runtime.h
|
| @@ -633,7 +633,7 @@ namespace internal {
|
|
|
|
|
| #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
|
| - F(ArrayBufferInitialize, 2, 1) \
|
| + F(ArrayBufferInitialize, 3, 1) \
|
| F(ArrayBufferGetByteLength, 1, 1) \
|
| F(ArrayBufferSliceImpl, 3, 1) \
|
| F(ArrayBufferIsView, 1, 1) \
|
| @@ -815,12 +815,14 @@ class Runtime : public AllStatic {
|
| static void SetupArrayBuffer(Isolate* isolate,
|
| Handle<JSArrayBuffer> array_buffer,
|
| bool is_external, void* data,
|
| - size_t allocated_length);
|
| + size_t allocated_length,
|
| + SharedFlag shared = NOT_SHARED);
|
|
|
| static bool SetupArrayBufferAllocatingData(Isolate* isolate,
|
| Handle<JSArrayBuffer> array_buffer,
|
| size_t allocated_length,
|
| - bool initialize = true);
|
| + bool initialize = true,
|
| + SharedFlag shared = NOT_SHARED);
|
|
|
| static void NeuterArrayBuffer(Handle<JSArrayBuffer> array_buffer);
|
|
|
|
|