| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index 03460cb9be22b53d95c599caebc7a947b95e6fd6..ff02d84a72f5ebeff79c5f9fa8b4913ff59e87bb 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -80,6 +80,12 @@ BUFFER_VIEW_GETTER(TypedArray, Length, length)
|
|
|
| #undef BUFFER_VIEW_GETTER
|
|
|
| +RUNTIME_FUNCTION(Runtime_ArrayBufferViewWasNeutered) {
|
| + HandleScope scope(isolate);
|
| + DCHECK_EQ(1, args.length());
|
| + return isolate->heap()->ToBoolean(JSTypedArray::cast(args[0])->WasNeutered());
|
| +}
|
| +
|
| RUNTIME_FUNCTION(Runtime_TypedArrayGetBuffer) {
|
| HandleScope scope(isolate);
|
| DCHECK_EQ(1, args.length());
|
| @@ -239,7 +245,6 @@ RUNTIME_FUNCTION(Runtime_IsTypedArray) {
|
| return isolate->heap()->ToBoolean(args[0]->IsJSTypedArray());
|
| }
|
|
|
| -
|
| RUNTIME_FUNCTION(Runtime_IsSharedTypedArray) {
|
| HandleScope scope(isolate);
|
| DCHECK_EQ(1, args.length());
|
|
|