| Index: src/runtime/runtime-function.cc
|
| diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc
|
| index b86d969dd9ed4b8fa54fefc896b40a7b68e2aa81..39466050a71497a22b9986a88debc24f0fdb4c76 100644
|
| --- a/src/runtime/runtime-function.cc
|
| +++ b/src/runtime/runtime-function.cc
|
| @@ -631,5 +631,13 @@ RUNTIME_FUNCTION(Runtime_IsFunction) {
|
| CONVERT_ARG_CHECKED(Object, obj, 0);
|
| return isolate->heap()->ToBoolean(obj->IsJSFunction());
|
| }
|
| +
|
| +
|
| +RUNTIME_FUNCTION(Runtime_ThrowStrongModeTooFewArguments) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 0);
|
| + THROW_NEW_ERROR_RETURN_FAILURE(
|
| + isolate, NewTypeError("strong_arity", HandleVector<Object>(NULL, 0)));
|
| +}
|
| }
|
| } // namespace v8::internal
|
|
|