| Index: src/runtime/runtime-function.cc
|
| diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc
|
| index 0bcbf9c53c4d2b32201cb102b51d3144599b7e61..12d880b9697f97a153c6de5798af7ca7402e02cc 100644
|
| --- a/src/runtime/runtime-function.cc
|
| +++ b/src/runtime/runtime-function.cc
|
| @@ -605,5 +605,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
|
|
|