| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 8155dcc42889c1973ae76d7466f66ba3ebcf6c1d..8e617b07a23e3e938c4940c832e76c6bbf5db313 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -4400,10 +4400,6 @@ FunctionLiteral* Parser::ParseFunctionLiteral(
|
| if (should_be_used_once_hint)
|
| function_literal->set_should_be_used_once_hint();
|
|
|
| - if (scope->has_rest_parameter()) {
|
| - function_literal->set_dont_optimize_reason(kRestParameter);
|
| - }
|
| -
|
| if (fni_ != NULL && should_infer_name) fni_->AddFunction(function_literal);
|
| return function_literal;
|
| }
|
|
|