Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 8febe70bee3dc69d38655aa9b523e0880e27f36b..e3b7e70ae71f379bc8063061fdefdfc434a04861 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -1392,9 +1392,6 @@ void ParserTraits::AddFormalParameter(ParserFormalParameters* parameters, |
bool is_rest) { |
bool is_simple = |
!is_rest && pattern->IsVariableProxy() && initializer == nullptr; |
- DCHECK(parser_->allow_harmony_destructuring_bind() || |
- parser_->allow_harmony_rest_parameters() || |
- parser_->allow_harmony_default_parameters() || is_simple); |
const AstRawString* name = is_simple |
? pattern->AsVariableProxy()->raw_name() |
: parser_->ast_value_factory()->empty_string(); |