| Index: src/runtime/runtime.h
|
| diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
|
| index a051fd0276e7c7b6fb91db539266dc8ea654d9c4..7d2c52fb65deff179b580dfec81d29513ed7c255 100644
|
| --- a/src/runtime/runtime.h
|
| +++ b/src/runtime/runtime.h
|
| @@ -616,12 +616,13 @@ 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) \
|
| F(ArrayBufferNeuter, 1, 1) \
|
| - F(TypedArrayInitialize, 5, 1) \
|
| + F(ArrayBufferIsShared, 1, 1) \
|
| + F(TypedArrayInitialize, 6, 1) \
|
| F(TypedArrayInitializeFromArrayLike, 4, 1) \
|
| F(ArrayBufferViewGetByteLength, 1, 1) \
|
| F(ArrayBufferViewGetByteOffset, 1, 1) \
|
| @@ -798,12 +799,13 @@ 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, bool is_shared = false);
|
|
|
| static bool SetupArrayBufferAllocatingData(Isolate* isolate,
|
| Handle<JSArrayBuffer> array_buffer,
|
| size_t allocated_length,
|
| - bool initialize = true);
|
| + bool initialize = true,
|
| + bool is_shared = false);
|
|
|
| static void NeuterArrayBuffer(Handle<JSArrayBuffer> array_buffer);
|
|
|
|
|