Index: src/runtime/runtime.h |
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
index 192e342d9b85f442f5ed879d8aef5a88eeaf84ba..797f3d0793d5d32e58d75fbe1c852bdac8e3b5be 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,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, |
+ SharedFlag shared = SharedFlag::kNotShared); |
- static bool SetupArrayBufferAllocatingData(Isolate* isolate, |
- Handle<JSArrayBuffer> array_buffer, |
- size_t allocated_length, |
- bool initialize = true); |
+ static bool SetupArrayBufferAllocatingData( |
+ Isolate* isolate, Handle<JSArrayBuffer> array_buffer, |
+ size_t allocated_length, bool initialize = true, |
+ SharedFlag shared = SharedFlag::kNotShared); |
static void NeuterArrayBuffer(Handle<JSArrayBuffer> array_buffer); |