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

Side by Side Diff: src/ast/prettyprinter.cc

Issue 2203803002: [debug] Don't notify listener of exceptions internal to a desugaring. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 4 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.cc » ('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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 switch (node->catch_prediction()) { 890 switch (node->catch_prediction()) {
891 case HandlerTable::UNCAUGHT: 891 case HandlerTable::UNCAUGHT:
892 prediction = "UNCAUGHT"; 892 prediction = "UNCAUGHT";
893 break; 893 break;
894 case HandlerTable::CAUGHT: 894 case HandlerTable::CAUGHT:
895 prediction = "CAUGHT"; 895 prediction = "CAUGHT";
896 break; 896 break;
897 case HandlerTable::PROMISE: 897 case HandlerTable::PROMISE:
898 prediction = "PROMISE"; 898 prediction = "PROMISE";
899 break; 899 break;
900 case HandlerTable::DESUGARING:
901 prediction = "DESUGARING";
902 break;
900 } 903 }
901 Print(" %s\n", prediction); 904 Print(" %s\n", prediction);
902 } 905 }
903 906
904 void AstPrinter::VisitDebuggerStatement(DebuggerStatement* node) { 907 void AstPrinter::VisitDebuggerStatement(DebuggerStatement* node) {
905 IndentedScope indent(this, "DEBUGGER", node->position()); 908 IndentedScope indent(this, "DEBUGGER", node->position());
906 } 909 }
907 910
908 911
909 void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) { 912 void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) {
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 1190
1188 void AstPrinter::VisitRewritableExpression(RewritableExpression* node) { 1191 void AstPrinter::VisitRewritableExpression(RewritableExpression* node) {
1189 Visit(node->expression()); 1192 Visit(node->expression());
1190 } 1193 }
1191 1194
1192 1195
1193 #endif // DEBUG 1196 #endif // DEBUG
1194 1197
1195 } // namespace internal 1198 } // namespace internal
1196 } // namespace v8 1199 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698