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

Unified Diff: src/parsing/scanner.h

Issue 2203843002: Remove --harmony-exponentiation-operator flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/parsing/parser-base.h ('k') | src/parsing/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/scanner.h
diff --git a/src/parsing/scanner.h b/src/parsing/scanner.h
index 276bbe79f6a07a0f427ce7545393644a9ce5cc15..0c71eecdf49995693a6deb2dc5dcd6fd9867823e 100644
--- a/src/parsing/scanner.h
+++ b/src/parsing/scanner.h
@@ -493,12 +493,6 @@ class Scanner {
bool FoundHtmlComment() const { return found_html_comment_; }
-#define DECLARE_ACCESSORS(name) \
- inline bool allow_##name() const { return allow_##name##_; } \
- inline void set_allow_##name(bool allow) { allow_##name##_ = allow; }
- DECLARE_ACCESSORS(harmony_exponentiation_operator)
-#undef ACCESSOR
-
private:
// The current and look-ahead token.
struct TokenDesc {
@@ -828,8 +822,6 @@ class Scanner {
// Whether this scanner encountered an HTML comment.
bool found_html_comment_;
- bool allow_harmony_exponentiation_operator_;
-
MessageTemplate::Template scanner_error_;
Location scanner_error_location_;
};
« no previous file with comments | « src/parsing/parser-base.h ('k') | src/parsing/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698