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

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

Issue 2654423004: [async-functions] support await expressions in finally statements (Closed)
Patch Set: I'd like to build with -Wunused-variables locally, but how!? Created 3 years, 10 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
« no previous file with comments | « src/parsing/parser-base.h ('k') | src/parsing/preparser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/objects-inl.h" 7 #include "src/objects-inl.h"
8 #include "src/parsing/parameter-initializer-rewriter.h" 8 #include "src/parsing/parameter-initializer-rewriter.h"
9 #include "src/parsing/parser.h" 9 #include "src/parsing/parser.h"
10 10
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 NOT_A_PATTERN(EmptyStatement) 724 NOT_A_PATTERN(EmptyStatement)
725 NOT_A_PATTERN(EmptyParentheses) 725 NOT_A_PATTERN(EmptyParentheses)
726 NOT_A_PATTERN(ExpressionStatement) 726 NOT_A_PATTERN(ExpressionStatement)
727 NOT_A_PATTERN(ForInStatement) 727 NOT_A_PATTERN(ForInStatement)
728 NOT_A_PATTERN(ForOfStatement) 728 NOT_A_PATTERN(ForOfStatement)
729 NOT_A_PATTERN(ForStatement) 729 NOT_A_PATTERN(ForStatement)
730 NOT_A_PATTERN(FunctionDeclaration) 730 NOT_A_PATTERN(FunctionDeclaration)
731 NOT_A_PATTERN(FunctionLiteral) 731 NOT_A_PATTERN(FunctionLiteral)
732 NOT_A_PATTERN(GetIterator) 732 NOT_A_PATTERN(GetIterator)
733 NOT_A_PATTERN(IfStatement) 733 NOT_A_PATTERN(IfStatement)
734 NOT_A_PATTERN(InternalVariable)
734 NOT_A_PATTERN(Literal) 735 NOT_A_PATTERN(Literal)
735 NOT_A_PATTERN(NativeFunctionLiteral) 736 NOT_A_PATTERN(NativeFunctionLiteral)
736 NOT_A_PATTERN(RegExpLiteral) 737 NOT_A_PATTERN(RegExpLiteral)
737 NOT_A_PATTERN(ReturnStatement) 738 NOT_A_PATTERN(ReturnStatement)
738 NOT_A_PATTERN(SloppyBlockFunctionStatement) 739 NOT_A_PATTERN(SloppyBlockFunctionStatement)
739 NOT_A_PATTERN(Spread) 740 NOT_A_PATTERN(Spread)
740 NOT_A_PATTERN(SuperPropertyReference) 741 NOT_A_PATTERN(SuperPropertyReference)
741 NOT_A_PATTERN(SuperCallReference) 742 NOT_A_PATTERN(SuperCallReference)
742 NOT_A_PATTERN(SwitchStatement) 743 NOT_A_PATTERN(SwitchStatement)
743 NOT_A_PATTERN(ThisFunction) 744 NOT_A_PATTERN(ThisFunction)
744 NOT_A_PATTERN(Throw) 745 NOT_A_PATTERN(Throw)
745 NOT_A_PATTERN(TryCatchStatement) 746 NOT_A_PATTERN(TryCatchStatement)
746 NOT_A_PATTERN(TryFinallyStatement) 747 NOT_A_PATTERN(TryFinallyStatement)
747 NOT_A_PATTERN(UnaryOperation) 748 NOT_A_PATTERN(UnaryOperation)
748 NOT_A_PATTERN(VariableDeclaration) 749 NOT_A_PATTERN(VariableDeclaration)
749 NOT_A_PATTERN(WhileStatement) 750 NOT_A_PATTERN(WhileStatement)
750 NOT_A_PATTERN(WithStatement) 751 NOT_A_PATTERN(WithStatement)
751 NOT_A_PATTERN(Yield) 752 NOT_A_PATTERN(Yield)
752 753
753 #undef NOT_A_PATTERN 754 #undef NOT_A_PATTERN
754 } // namespace internal 755 } // namespace internal
755 } // namespace v8 756 } // namespace v8
OLDNEW
« no previous file with comments | « 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