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

Unified Diff: src/lexer/lexer-shell.cc

Issue 83583002: Experimental parser: utf8 added to build (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month 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/lexer/lexer.gyp ('k') | tools/lexer_generator/code_generator.jinja » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/lexer-shell.cc
diff --git a/src/lexer/lexer-shell.cc b/src/lexer/lexer-shell.cc
index 8bb4a9659951d5ef91d15a927b97e00414cbfe17..6c72590e2745dfd728bb1b6ad4beba74192d0527 100644
--- a/src/lexer/lexer-shell.cc
+++ b/src/lexer/lexer-shell.cc
@@ -281,6 +281,11 @@ std::pair<TimeDelta, TimeDelta> ProcessFile(
}
if (run_experimental) {
switch (encoding) {
+ case UTF8:
+ experimental_time = RunExperimentalScanner<int8_t>(
+ fname, isolate, encoding, print_tokens || check_tokens,
+ &experimental_tokens, repeat, harmony_settings);
+ break;
case LATIN1:
experimental_time = RunExperimentalScanner<uint8_t>(
fname, isolate, encoding, print_tokens || check_tokens,
« no previous file with comments | « src/lexer/lexer.gyp ('k') | tools/lexer_generator/code_generator.jinja » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698