| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 3fa6b27451d3db083677117ede77cd0024ad7a8d..43a5a48cb7c62123a513046c9d3f16d0d0c507a2 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -4476,10 +4476,8 @@ ZoneList<Statement*>* Parser::ParseEagerFunctionBody(
|
|
|
| {
|
| ZoneList<Expression*>* arguments =
|
| - new (zone()) ZoneList<Expression*>(2, zone());
|
| + new (zone()) ZoneList<Expression*>(1, zone());
|
| arguments->Add(factory()->NewThisFunction(pos), zone());
|
| - arguments->Add(
|
| - ThisExpression(scope_, factory(), RelocInfo::kNoPosition), zone());
|
| CallRuntime* allocation = factory()->NewCallRuntime(
|
| Runtime::kCreateJSGeneratorObject, arguments, pos);
|
|
|
|
|