| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index 955af4e8ea0977cbd8f854c13e22838bf893a6c7..2f1040e38a873f5afa4e16f86ff118740541d5e2 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -360,6 +360,15 @@ RUNTIME_FUNCTION(Runtime_IsTypedArray) {
|
| return isolate->heap()->ToBoolean(args[0]->IsJSTypedArray());
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_ValidateTypedArray) {
|
| + HandleScope scope(isolate);
|
| + DCHECK_EQ(2, args.length());
|
| + CONVERT_ARG_HANDLE_CHECKED(Object, target_obj, 0);
|
| + CONVERT_ARG_HANDLE_CHECKED(String, method, 1);
|
| + RETURN_RESULT_OR_FAILURE(
|
| + isolate,
|
| + JSTypedArray::Validate(isolate, target_obj, method->ToCString().get()));
|
| +}
|
|
|
| RUNTIME_FUNCTION(Runtime_IsSharedTypedArray) {
|
| HandleScope scope(isolate);
|
|
|