Index: src/runtime.h |
diff --git a/src/runtime.h b/src/runtime.h |
index 99c575f22706f917836199ff4de7e45841a939fc..23d6d95fb50046840702040fb54fb260786f10f8 100644 |
--- a/src/runtime.h |
+++ b/src/runtime.h |
@@ -365,6 +365,7 @@ namespace internal { |
F(ArrayBufferGetByteLength, 1, 1)\ |
F(ArrayBufferSliceImpl, 3, 1) \ |
F(ArrayBufferIsView, 1, 1) \ |
+ F(ArrayBufferNeuter, 1, 1) \ |
\ |
F(TypedArrayInitialize, 5, 1) \ |
F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
@@ -828,6 +829,8 @@ class Runtime : public AllStatic { |
size_t allocated_length, |
bool initialize = true); |
+ static void NeuterArrayBuffer(Handle<JSArrayBuffer> array_buffer); |
+ |
static void FreeArrayBuffer( |
Isolate* isolate, |
JSArrayBuffer* phantom_array_buffer); |