| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 4c5a5299694b09886c90b1083f2b38d22d335c9e..74f69970e3293964d908a12c2dd13db36beb29c8 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -1964,9 +1964,7 @@ Statement* Parser::ParseNativeDeclaration(bool* ok) {
|
| Factory::NewFunctionBoilerplate(name, literals, code);
|
| boilerplate->shared()->set_construct_stub(*construct_stub);
|
|
|
| - // Copy the function data to the boilerplate. Used by
|
| - // builtins.cc:HandleApiCall to perform argument type checks and to
|
| - // find the right native code to call.
|
| + // Copy the function data to the boilerplate.
|
| boilerplate->shared()->set_function_data(fun->shared()->function_data());
|
| int parameters = fun->shared()->formal_parameter_count();
|
| boilerplate->shared()->set_formal_parameter_count(parameters);
|
|
|