| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index 955af4e8ea0977cbd8f854c13e22838bf893a6c7..aecf22468d9f5f6524aaefdfb325b2e0b3afab66 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -360,6 +360,11 @@ RUNTIME_FUNCTION(Runtime_IsTypedArray) {
|
| return isolate->heap()->ToBoolean(args[0]->IsJSTypedArray());
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_WasNeutered) {
|
| + HandleScope scope(isolate);
|
| + DCHECK_EQ(1, args.length());
|
| + return isolate->heap()->ToBoolean(JSTypedArray::cast(args[0])->WasNeutered());
|
| +}
|
|
|
| RUNTIME_FUNCTION(Runtime_IsSharedTypedArray) {
|
| HandleScope scope(isolate);
|
|
|