Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index b3e7d796ca1e0955e6557602bc7a0e30a77f3e4e..87269ed619581862cb4038173286a1c4b0d42b28 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -1154,7 +1154,6 @@ class Parser : public ParserBase<ParserTraits> { |
PreParser::PreParseResult ParseLazyFunctionBodyWithPreParser( |
SingletonLogger* logger, Scanner::BookmarkScope* bookmark = nullptr); |
- bool IsSimpleParameterList(const ParserFormalParameters& parameters); |
Block* BuildParameterInitializationBlock( |
const ParserFormalParameters& parameters, bool* ok); |
@@ -1338,7 +1337,7 @@ void ParserTraits::DeclareFormalParameter( |
void ParserTraits::AddParameterInitializationBlock( |
const ParserFormalParameters& parameters, |
ZoneList<v8::internal::Statement*>* body, bool* ok) { |
- if (!parser_->IsSimpleParameterList(parameters)) { |
+ if (!parameters.is_simple) { |
auto* init_block = |
parser_->BuildParameterInitializationBlock(parameters, ok); |
if (!*ok) return; |