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