Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 36268493e971ae185e2f88b5254cc5a88a7dde70..1ea1f1fbcfcc4bfc04293cac684b38769d73bd3a 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -1674,7 +1674,6 @@ void Parser::RewriteCatchPattern(CatchInfo* catch_info, bool* ok) { |
DeclarationDescriptor descriptor; |
descriptor.declaration_kind = DeclarationDescriptor::NORMAL; |
descriptor.scope = scope(); |
- descriptor.hoist_scope = nullptr; |
descriptor.mode = LET; |
descriptor.declaration_pos = catch_info->pattern->position(); |
descriptor.initialization_pos = catch_info->pattern->position(); |
@@ -2910,7 +2909,6 @@ Block* Parser::BuildParameterInitializationBlock( |
DeclarationDescriptor descriptor; |
descriptor.declaration_kind = DeclarationDescriptor::PARAMETER; |
descriptor.scope = scope(); |
- descriptor.hoist_scope = nullptr; |
descriptor.mode = LET; |
descriptor.declaration_pos = parameter->pattern->position(); |
// The position that will be used by the AssignmentExpression |
@@ -2945,7 +2943,6 @@ Block* Parser::BuildParameterInitializationBlock( |
param_scope->RecordEvalCall(); |
param_block = factory()->NewBlock(NULL, 8, true, kNoSourcePosition); |
param_block->set_scope(param_scope); |
- descriptor.hoist_scope = scope(); |
// Pass the appropriate scope in so that PatternRewriter can appropriately |
// rewrite inner initializers of the pattern to param_scope |
descriptor.scope = param_scope; |