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

Unified Diff: src/scanner.h

Issue 1271073002: Delete --harmony-unicode flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase and reformat comment Created 5 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/preparser.h ('k') | src/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index 16c06760133e4d8fb303d71e2854b48370280cde..8966d015847eb019b08a472f107817797e2afd5a 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -478,9 +478,6 @@ class Scanner {
// tokens, which is what it is used for.
void SeekForward(int pos);
- bool HarmonyUnicode() const { return harmony_unicode_; }
- void SetHarmonyUnicode(bool unicode) { harmony_unicode_ = unicode; }
-
// Returns true if there was a line terminator before the peek'ed token,
// possibly inside a multi-line comment.
bool HasAnyLineTerminatorBeforeNext() const {
@@ -790,8 +787,6 @@ class Scanner {
// Whether there is a multi-line comment that contains a
// line-terminator after the current token, and before the next.
bool has_multiline_comment_before_next_;
- // Whether we allow \u{xxxxx}.
- bool harmony_unicode_;
};
} } // namespace v8::internal
« no previous file with comments | « src/preparser.h ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698