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

Unified Diff: src/scanner.cc

Issue 1027593005: [es6] remove --harmony-templates flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extra references to harmony-templates stuff Created 5 years, 9 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/scanner.h ('k') | src/string.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.cc
diff --git a/src/scanner.cc b/src/scanner.cc
index 69bdd06ed28da7b0e81322b3961fcd9534b03ced..a40688f52b8a54ca500a868452faafcdd88a0650 100644
--- a/src/scanner.cc
+++ b/src/scanner.cc
@@ -38,7 +38,6 @@ Scanner::Scanner(UnicodeCache* unicode_cache)
harmony_modules_(false),
harmony_numeric_literals_(false),
harmony_classes_(false),
- harmony_templates_(false),
harmony_unicode_(false) {}
@@ -655,10 +654,8 @@ void Scanner::Scan() {
break;
case '`':
- if (HarmonyTemplates()) {
- token = ScanTemplateStart();
- break;
- }
+ token = ScanTemplateStart();
+ break;
default:
if (c0_ < 0) {
« no previous file with comments | « src/scanner.h ('k') | src/string.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698