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

Side by Side Diff: src/parsing/preparser.h

Issue 2124813002: [debugger] omit exception events for rethrown exceptions in async. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments 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
« no previous file with comments | « src/parsing/parser-base.h ('k') | test/mjsunit/harmony/async-debug-caught-exception.js » ('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 #ifndef V8_PARSING_PREPARSER_H 5 #ifndef V8_PARSING_PREPARSER_H
6 #define V8_PARSING_PREPARSER_H 6 #define V8_PARSING_PREPARSER_H
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/hashmap.h" 10 #include "src/base/hashmap.h"
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 PreParserExpression NewRewritableExpression(PreParserExpression expression) { 495 PreParserExpression NewRewritableExpression(PreParserExpression expression) {
496 return expression; 496 return expression;
497 } 497 }
498 PreParserExpression NewAssignment(Token::Value op, 498 PreParserExpression NewAssignment(Token::Value op,
499 PreParserExpression left, 499 PreParserExpression left,
500 PreParserExpression right, 500 PreParserExpression right,
501 int pos) { 501 int pos) {
502 return PreParserExpression::Assignment(); 502 return PreParserExpression::Assignment();
503 } 503 }
504 PreParserExpression NewYield(PreParserExpression generator_object, 504 PreParserExpression NewYield(PreParserExpression generator_object,
505 PreParserExpression expression, 505 PreParserExpression expression, int pos,
506 int pos) { 506 Yield::OnException on_exception) {
507 return PreParserExpression::Default(); 507 return PreParserExpression::Default();
508 } 508 }
509 PreParserExpression NewConditional(PreParserExpression condition, 509 PreParserExpression NewConditional(PreParserExpression condition,
510 PreParserExpression then_expression, 510 PreParserExpression then_expression,
511 PreParserExpression else_expression, 511 PreParserExpression else_expression,
512 int pos) { 512 int pos) {
513 return PreParserExpression::Default(); 513 return PreParserExpression::Default();
514 } 514 }
515 PreParserExpression NewCountOperation(Token::Value op, 515 PreParserExpression NewCountOperation(Token::Value op,
516 bool is_prefix, 516 bool is_prefix,
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 const PreParserFormalParameters& parameters, FunctionKind kind, 1262 const PreParserFormalParameters& parameters, FunctionKind kind,
1263 FunctionLiteral::FunctionType function_type, bool* ok) { 1263 FunctionLiteral::FunctionType function_type, bool* ok) {
1264 return pre_parser_->ParseEagerFunctionBody(function_name, pos, parameters, 1264 return pre_parser_->ParseEagerFunctionBody(function_name, pos, parameters,
1265 kind, function_type, ok); 1265 kind, function_type, ok);
1266 } 1266 }
1267 1267
1268 } // namespace internal 1268 } // namespace internal
1269 } // namespace v8 1269 } // namespace v8
1270 1270
1271 #endif // V8_PARSING_PREPARSER_H 1271 #endif // V8_PARSING_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parsing/parser-base.h ('k') | test/mjsunit/harmony/async-debug-caught-exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698