Reviewers: marja,
Message:
Committed patchset #1 manually as r17682 (presubmit successful).
Description:
Remove ascii encoding from lexer-shell, latin1 should be used instead.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=17682
Please review this at https://chromiumcodereview.appspot.com/67643005/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser
Affected files (+0, -4 lines):
M src/lexer/lexer-shell.cc
Index: src/lexer/lexer-shell.cc
diff --git a/src/lexer/lexer-shell.cc b/src/lexer/lexer-shell.cc
index
c56827910674cdb8f186ae650bdeb0f550131825..afc8eb833f0773e3ca719b73687e93e3a8649a78
100644
--- a/src/lexer/lexer-shell.cc
+++ b/src/lexer/lexer-shell.cc
@@ -50,7 +50,6 @@
using namespace v8::internal;
enum Encoding {
- ASCII,
LATIN1,
UTF8,
UTF16
@@ -88,7 +87,6 @@ class BaselineScanner {
unicode_cache_ = new UnicodeCache();
scanner_ = new Scanner(unicode_cache_);
switch (encoding) {
- case ASCII:
case UTF8:
stream_ = new Utf8ToUtf16CharacterStream(source_, length);
break;
@@ -276,8 +274,6 @@ int main(int argc, char* argv[]) {
encoding = UTF8;
} else if (strcmp(argv[i], "--utf16") == 0) {
encoding = UTF16;
- } else if (strcmp(argv[i], "--ascii") == 0) {
- encoding = ASCII;
} else if (strcmp(argv[i], "--print-tokens") == 0) {
print_tokens = true;
} else if (strcmp(argv[i], "--no-baseline") == 0) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.