| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index c138a4febd6f3c8ebdfd205e7555c94c40598430..d702ff99d63c1b3ee0741dae6e1eb9fb56b185a8 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -500,6 +500,13 @@ RUNTIME_FUNCTION(Runtime_TypedArrayMaxSizeInHeap) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_IsTypedArray) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 1);
|
| + return isolate->heap()->ToBoolean(args[0]->IsJSTypedArray());
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_DataViewInitialize) {
|
| HandleScope scope(isolate);
|
| DCHECK(args.length() == 4);
|
|
|