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

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

Issue 2654423004: [async-functions] support await expressions in finally statements (Closed)
Patch Set: Get everything working (except possibly inspector tests) 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
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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 NOT_A_PATTERN(EmptyStatement) 727 NOT_A_PATTERN(EmptyStatement)
728 NOT_A_PATTERN(EmptyParentheses) 728 NOT_A_PATTERN(EmptyParentheses)
729 NOT_A_PATTERN(ExpressionStatement) 729 NOT_A_PATTERN(ExpressionStatement)
730 NOT_A_PATTERN(ForInStatement) 730 NOT_A_PATTERN(ForInStatement)
731 NOT_A_PATTERN(ForOfStatement) 731 NOT_A_PATTERN(ForOfStatement)
732 NOT_A_PATTERN(ForStatement) 732 NOT_A_PATTERN(ForStatement)
733 NOT_A_PATTERN(FunctionDeclaration) 733 NOT_A_PATTERN(FunctionDeclaration)
734 NOT_A_PATTERN(FunctionLiteral) 734 NOT_A_PATTERN(FunctionLiteral)
735 NOT_A_PATTERN(GetIterator) 735 NOT_A_PATTERN(GetIterator)
736 NOT_A_PATTERN(IfStatement) 736 NOT_A_PATTERN(IfStatement)
737 NOT_A_PATTERN(InternalVariable)
737 NOT_A_PATTERN(Literal) 738 NOT_A_PATTERN(Literal)
738 NOT_A_PATTERN(NativeFunctionLiteral) 739 NOT_A_PATTERN(NativeFunctionLiteral)
739 NOT_A_PATTERN(RegExpLiteral) 740 NOT_A_PATTERN(RegExpLiteral)
740 NOT_A_PATTERN(ReturnStatement) 741 NOT_A_PATTERN(ReturnStatement)
741 NOT_A_PATTERN(SloppyBlockFunctionStatement) 742 NOT_A_PATTERN(SloppyBlockFunctionStatement)
742 NOT_A_PATTERN(Spread) 743 NOT_A_PATTERN(Spread)
743 NOT_A_PATTERN(SuperPropertyReference) 744 NOT_A_PATTERN(SuperPropertyReference)
744 NOT_A_PATTERN(SuperCallReference) 745 NOT_A_PATTERN(SuperCallReference)
745 NOT_A_PATTERN(SwitchStatement) 746 NOT_A_PATTERN(SwitchStatement)
746 NOT_A_PATTERN(ThisFunction) 747 NOT_A_PATTERN(ThisFunction)
747 NOT_A_PATTERN(Throw) 748 NOT_A_PATTERN(Throw)
748 NOT_A_PATTERN(TryCatchStatement) 749 NOT_A_PATTERN(TryCatchStatement)
749 NOT_A_PATTERN(TryFinallyStatement) 750 NOT_A_PATTERN(TryFinallyStatement)
750 NOT_A_PATTERN(UnaryOperation) 751 NOT_A_PATTERN(UnaryOperation)
751 NOT_A_PATTERN(VariableDeclaration) 752 NOT_A_PATTERN(VariableDeclaration)
752 NOT_A_PATTERN(WhileStatement) 753 NOT_A_PATTERN(WhileStatement)
753 NOT_A_PATTERN(WithStatement) 754 NOT_A_PATTERN(WithStatement)
754 NOT_A_PATTERN(Yield) 755 NOT_A_PATTERN(Yield)
755 756
756 #undef NOT_A_PATTERN 757 #undef NOT_A_PATTERN
757 } // namespace internal 758 } // namespace internal
758 } // namespace v8 759 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698