Index: src/parsing/pattern-rewriter.cc |
diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc |
index cb197c9fbf98d1fb4cda0c4d9c277b93750c9c5d..4d82d1a7db5732de7bea9c2cad2edb829e656971 100644 |
--- a/src/parsing/pattern-rewriter.cc |
+++ b/src/parsing/pattern-rewriter.cc |
@@ -67,16 +67,6 @@ Expression* Parser::PatternRewriter::RewriteDestructuringAssignment( |
} |
-bool Parser::PatternRewriter::IsAssignmentContext(PatternContext c) const { |
- return c == ASSIGNMENT || c == ASSIGNMENT_INITIALIZER; |
-} |
- |
- |
-bool Parser::PatternRewriter::IsBindingContext(PatternContext c) const { |
- return c == BINDING || c == INITIALIZER; |
-} |
- |
- |
Parser::PatternRewriter::PatternContext |
Parser::PatternRewriter::SetAssignmentContextIfNeeded(Expression* node) { |
PatternContext old_context = context(); |