Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index 6c05e9e1e08bd6f40c6169b74e5b8f7346eb5cb3..312bd58546b66631246a67bbbc9de93162db4268 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -752,7 +752,8 @@ class PreParserFactory { |
struct PreParserFormalParameters : FormalParametersBase { |
explicit PreParserFormalParameters(DeclarationScope* scope) |
: FormalParametersBase(scope) {} |
- PreParserIdentifier at(int i) { return PreParserIdentifier(); } // Dummy |
+ |
+ void* params = nullptr; // Dummy |
}; |
@@ -1440,8 +1441,8 @@ class PreParser : public ParserBase<PreParser> { |
parameters->UpdateArityAndFunctionLength(!initializer.IsEmpty(), is_rest); |
} |
- V8_INLINE void DeclareFormalParameter(DeclarationScope* scope, |
- PreParserIdentifier parameter) { |
+ V8_INLINE void DeclareFormalParameters(DeclarationScope* scope, |
+ void* parameters) { |
if (!classifier()->is_simple_parameter_list()) { |
scope->SetHasNonSimpleParameters(); |
} |