Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 02feecf2a09454a8fa760f6926a02aa8428b16f6..6abf5da134c291ef5eb680c55f1b29ce82d95008 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -1096,7 +1096,7 @@ class Parser : public ParserBase<ParserTraits> { |
friend class InitializerRewriter; |
void RewriteParameterInitializer(Expression* expr, Scope* scope); |
- Expression* BuildCreateJSGeneratorObject(int pos); |
+ Expression* BuildCreateJSGeneratorObject(int pos, FunctionKind kind); |
Expression* BuildPromiseResolve(Expression* value, int pos); |
Expression* BuildPromiseReject(Expression* value, int pos); |