Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: src/parsing/pattern-rewriter.cc

Issue 2142333002: Refactor class declaration logic to the parser and runtime Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor cleanup per Adam Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/ast/ast.h" 5 #include "src/ast/ast.h"
6 #include "src/messages.h" 6 #include "src/messages.h"
7 #include "src/parsing/parameter-initializer-rewriter.h" 7 #include "src/parsing/parameter-initializer-rewriter.h"
8 #include "src/parsing/parser.h" 8 #include "src/parsing/parser.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 UNREACHABLE(); \ 737 UNREACHABLE(); \
738 } 738 }
739 739
740 NOT_A_PATTERN(BinaryOperation) 740 NOT_A_PATTERN(BinaryOperation)
741 NOT_A_PATTERN(Block) 741 NOT_A_PATTERN(Block)
742 NOT_A_PATTERN(BreakStatement) 742 NOT_A_PATTERN(BreakStatement)
743 NOT_A_PATTERN(Call) 743 NOT_A_PATTERN(Call)
744 NOT_A_PATTERN(CallNew) 744 NOT_A_PATTERN(CallNew)
745 NOT_A_PATTERN(CallRuntime) 745 NOT_A_PATTERN(CallRuntime)
746 NOT_A_PATTERN(CaseClause) 746 NOT_A_PATTERN(CaseClause)
747 NOT_A_PATTERN(ClassLiteral)
748 NOT_A_PATTERN(CompareOperation) 747 NOT_A_PATTERN(CompareOperation)
749 NOT_A_PATTERN(Conditional) 748 NOT_A_PATTERN(Conditional)
750 NOT_A_PATTERN(ContinueStatement) 749 NOT_A_PATTERN(ContinueStatement)
751 NOT_A_PATTERN(CountOperation) 750 NOT_A_PATTERN(CountOperation)
752 NOT_A_PATTERN(DebuggerStatement) 751 NOT_A_PATTERN(DebuggerStatement)
753 NOT_A_PATTERN(DoExpression) 752 NOT_A_PATTERN(DoExpression)
754 NOT_A_PATTERN(DoWhileStatement) 753 NOT_A_PATTERN(DoWhileStatement)
755 NOT_A_PATTERN(EmptyStatement) 754 NOT_A_PATTERN(EmptyStatement)
756 NOT_A_PATTERN(EmptyParentheses) 755 NOT_A_PATTERN(EmptyParentheses)
757 NOT_A_PATTERN(ExpressionStatement) 756 NOT_A_PATTERN(ExpressionStatement)
(...skipping 19 matching lines...) Expand all
777 NOT_A_PATTERN(TryFinallyStatement) 776 NOT_A_PATTERN(TryFinallyStatement)
778 NOT_A_PATTERN(UnaryOperation) 777 NOT_A_PATTERN(UnaryOperation)
779 NOT_A_PATTERN(VariableDeclaration) 778 NOT_A_PATTERN(VariableDeclaration)
780 NOT_A_PATTERN(WhileStatement) 779 NOT_A_PATTERN(WhileStatement)
781 NOT_A_PATTERN(WithStatement) 780 NOT_A_PATTERN(WithStatement)
782 NOT_A_PATTERN(Yield) 781 NOT_A_PATTERN(Yield)
783 782
784 #undef NOT_A_PATTERN 783 #undef NOT_A_PATTERN
785 } // namespace internal 784 } // namespace internal
786 } // namespace v8 785 } // namespace v8
OLDNEW
« src/parsing/parser.cc ('K') | « src/parsing/parser-base.h ('k') | src/parsing/preparser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698