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

Unified Diff: src/parsing/preparser.h

Issue 2267493002: Disallow 'await' in object literal shorthand position (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More cleanup 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
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index f67c3b9c3622e13140d5154a7535db7c7fb9b0b1..5018144d23d5c46afa2476cbc6cbbcbd531fe83f 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -629,10 +629,6 @@ class PreParserTraits {
return identifier.IsArguments();
}
- bool IsAwait(PreParserIdentifier identifier) const {
- return identifier.IsAwait();
- }
-
bool IsEvalOrArguments(PreParserIdentifier identifier) const {
return identifier.IsEvalOrArguments();
}

Powered by Google App Engine
This is Rietveld 408576698