| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index af530339d0d0d291989e17d265716211371f02c4..9c69ab37385c763ff0902838caa3e82835f10974 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -215,6 +215,8 @@ class Parser : public ParserBase<Parser> {
|
| return scope()->NewTemporary(name);
|
| }
|
|
|
| + void PrepareGeneratorVariables(FunctionState* function_state);
|
| +
|
| // Limit the allowed number of local variables in a function. The hard limit
|
| // is that offsets computed by FullCodeGenerator::StackOperand and similar
|
| // functions are ints, and they should not overflow. In addition, accessing
|
| @@ -567,6 +569,7 @@ class Parser : public ParserBase<Parser> {
|
| friend class InitializerRewriter;
|
| void RewriteParameterInitializer(Expression* expr, Scope* scope);
|
|
|
| + Expression* BuildInitialYield(int pos, FunctionKind kind);
|
| Expression* BuildCreateJSGeneratorObject(int pos, FunctionKind kind);
|
| Expression* BuildResolvePromise(Expression* value, int pos);
|
| Expression* BuildRejectPromise(Expression* value, int pos);
|
|
|