| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index 955af4e8ea0977cbd8f854c13e22838bf893a6c7..53bc14f5dfa5df15b34da699a25aed6305b85a48 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -202,6 +202,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());
|
| @@ -360,7 +366,6 @@ RUNTIME_FUNCTION(Runtime_IsTypedArray) {
|
| return isolate->heap()->ToBoolean(args[0]->IsJSTypedArray());
|
| }
|
|
|
| -
|
| RUNTIME_FUNCTION(Runtime_IsSharedTypedArray) {
|
| HandleScope scope(isolate);
|
| DCHECK_EQ(1, args.length());
|
|
|