Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index a2e8e231e1713efe8130dffa4c619eb410b58a8f..15ea1469142f0776952cd4d1f553cbd77c39cc10 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -264,7 +264,7 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { |
return scope()->NewTemporary(name); |
} |
- void PrepareGeneratorVariables(FunctionState* function_state); |
+ void PrepareGeneratorVariables(); |
// Limit the allowed number of local variables in a function. The hard limit |
// is that offsets computed by FullCodeGenerator::StackOperand and similar |
@@ -630,7 +630,7 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { |
void RewriteParameterInitializer(Expression* expr, Scope* scope); |
Expression* BuildInitialYield(int pos, FunctionKind kind); |
- Expression* BuildCreateJSGeneratorObject(int pos, FunctionKind kind); |
+ Assignment* BuildCreateJSGeneratorObject(int pos, FunctionKind kind); |
Expression* BuildResolvePromise(Expression* value, int pos); |
Expression* BuildRejectPromise(Expression* value, int pos); |
Variable* PromiseVariable(); |