| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 93bf2f471d55795d0cdcf09cfe0f49a97bb274ba..ba1d2581b1f975154c2e3f176fe2e832325cba70 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -2503,10 +2503,10 @@ void Parser::ReindexLiterals(const ParserFormalParameters& parameters) {
|
| }
|
|
|
| void Parser::PrepareGeneratorVariables(FunctionState* function_state) {
|
| - // For generators, allocating variables in contexts is currently a win
|
| - // because it minimizes the work needed to suspend and resume an
|
| - // activation. The machine code produced for generators (by full-codegen)
|
| - // relies on this forced context allocation, but not in an essential way.
|
| + // For generators, allocating variables in contexts is currently a win because
|
| + // it minimizes the work needed to suspend and resume an activation. The
|
| + // code produced for generators relies on this forced context allocation, but
|
| + // not in an essential way.
|
| scope()->ForceContextAllocation();
|
|
|
| // Calling a generator returns a generator object. That object is stored
|
|
|