| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index c7025263ad83beb9c86c196cc9b14f0d36d5c471..baa4a8b0ba99f7a45dca2b45e36b636520883948 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -1652,8 +1652,8 @@ void FullCodeGenerator::VisitNativeFunctionLiteral(
|
|
|
| // Copy the function data to the shared function info.
|
| shared->set_function_data(fun->shared()->function_data());
|
| - int parameters = fun->shared()->formal_parameter_count();
|
| - shared->set_formal_parameter_count(parameters);
|
| + int parameters = fun->shared()->internal_formal_parameter_count();
|
| + shared->set_internal_formal_parameter_count(parameters);
|
|
|
| EmitNewClosure(shared, false);
|
| }
|
|
|