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

Unified Diff: src/parsing/preparser.h

Issue 2685683002: [async-await] (simpler) fix for Return in try/finally in async functions (Closed)
Patch Set: [async-await] (simpler) fix for Return in try/finally in async functions 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 side-by-side diff with in-line comments
Download patch
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 3c72fcca1c113c150d85e0bf01a64510383ba9cf..0080246f3e92ab32436b46aa560991a2879ab444 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -670,6 +670,10 @@ class PreParserFactory {
int pos) {
return PreParserStatement::Jump();
}
+ PreParserStatement NewAsyncReturnStatement(PreParserExpression expression,
+ int pos) {
+ return PreParserStatement::Jump();
+ }
PreParserExpression NewFunctionLiteral(
PreParserIdentifier name, Scope* scope, PreParserStatementList body,
int materialized_literal_count, int expected_property_count,

Powered by Google App Engine
This is Rietveld 408576698