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

Unified Diff: src/parsing/preparser.h

Issue 1921083002: [es6] Fix tail call elimination in single-expression arrow functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 07375294aa91deeab73c15095c4ce186b8406589..72a73dfa963ac85e460309ec257c9265c5040e84 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -887,6 +887,8 @@ class PreParserTraits {
bool name_is_strict_reserved, int pos,
bool* ok);
+ V8_INLINE void MarkExpressionInTailPosition(PreParserExpression) {}
+
PreParserExpressionList PrepareSpreadArguments(PreParserExpressionList list) {
return list;
}

Powered by Google App Engine
This is Rietveld 408576698