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/ast/prettyprinter.cc

Issue 2286753002: Synchronous path changes
Patch Set: Created 4 years, 3 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/ast/ast.h ('k') | src/debug/debug.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/prettyprinter.h" 5 #include "src/ast/prettyprinter.h"
6 6
7 #include <stdarg.h> 7 #include <stdarg.h>
8 8
9 #include "src/ast/ast-value-factory.h" 9 #include "src/ast/ast-value-factory.h"
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 break; 863 break;
864 case HandlerTable::CAUGHT: 864 case HandlerTable::CAUGHT:
865 prediction = "CAUGHT"; 865 prediction = "CAUGHT";
866 break; 866 break;
867 case HandlerTable::PROMISE: 867 case HandlerTable::PROMISE:
868 prediction = "PROMISE"; 868 prediction = "PROMISE";
869 break; 869 break;
870 case HandlerTable::DESUGARING: 870 case HandlerTable::DESUGARING:
871 prediction = "DESUGARING"; 871 prediction = "DESUGARING";
872 break; 872 break;
873 case HandlerTable::ASYNC_AWAIT:
874 prediction = "ASYNC_AWAIT";
875 break;
873 } 876 }
874 Print(" %s\n", prediction); 877 Print(" %s\n", prediction);
875 } 878 }
876 879
877 void AstPrinter::VisitDebuggerStatement(DebuggerStatement* node) { 880 void AstPrinter::VisitDebuggerStatement(DebuggerStatement* node) {
878 IndentedScope indent(this, "DEBUGGER", node->position()); 881 IndentedScope indent(this, "DEBUGGER", node->position());
879 } 882 }
880 883
881 884
882 void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) { 885 void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) {
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 1166
1164 void AstPrinter::VisitRewritableExpression(RewritableExpression* node) { 1167 void AstPrinter::VisitRewritableExpression(RewritableExpression* node) {
1165 Visit(node->expression()); 1168 Visit(node->expression());
1166 } 1169 }
1167 1170
1168 1171
1169 #endif // DEBUG 1172 #endif // DEBUG
1170 1173
1171 } // namespace internal 1174 } // namespace internal
1172 } // namespace v8 1175 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/debug/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698