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

Unified Diff: src/parsing/parser.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | test/mjsunit/debug-exceptions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index 239c4c89d57051248e7ef61b6e289511b5752295..545d78ca9aa0057d9f872d0a3c3136447bfb3fd7 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -6531,7 +6531,7 @@ Expression* ParserTraits::RewriteYieldStar(
catch_scope->DeclareLocal(name, VAR, kCreatedInitialized,
Variable::NORMAL);
- try_catch = factory->NewTryCatchStatement(
+ try_catch = factory->NewTryCatchStatementForDesugaring(
try_block, catch_scope, catch_variable, catch_block, nopos);
}
« no previous file with comments | « src/objects.h ('k') | test/mjsunit/debug-exceptions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698