| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index ff7e783393081cbe731a8d5f265a5b0fa852b773..be13a14d4f078f419db5f8045f3c794f6078ab57 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -397,7 +397,7 @@ static Handle<JSObject> NewSloppyArguments(Isolate* isolate,
|
| Object** parameters,
|
| int argument_count) {
|
| CHECK(!IsSubclassConstructor(callee->shared()->kind()));
|
| - DCHECK(callee->is_simple_parameter_list());
|
| + DCHECK(callee->has_simple_parameters());
|
| Handle<JSObject> result =
|
| isolate->factory()->NewArgumentsObject(callee, argument_count);
|
|
|
| @@ -518,7 +518,7 @@ RUNTIME_FUNCTION(Runtime_NewArguments) {
|
| Object** parameters = reinterpret_cast<Object**>(frame->GetParameterSlot(-1));
|
|
|
| return (is_strict(callee->shared()->language_mode()) ||
|
| - !callee->is_simple_parameter_list())
|
| + !callee->has_simple_parameters())
|
| ? *NewStrictArguments(isolate, callee, parameters, argument_count)
|
| : *NewSloppyArguments(isolate, callee, parameters, argument_count);
|
| }
|
|
|