Reviewers: dcarney,
Message:
Committed patchset #1 manually as r17371 (presubmit successful).
Description:
Experimental scanner: pass -b to re2c.
It seems to generate a bit faster scanner.
From re2c doc:
-b: Implies -s. Use bit vectors as well in the attempt to coax better code
out
of the compiler. Most useful for specifications with more than a few
keywords (e.g. for most programming languages).
-s: Generate nested ifs for some switches. Many compilers need this assist
to
generate better code.
BUG=
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=17371
Please review this at https://codereview.chromium.org/39913002/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser
Affected files (+1, -0 lines):
M src/lexer/lexer.gyp
Index: src/lexer/lexer.gyp
diff --git a/src/lexer/lexer.gyp b/src/lexer/lexer.gyp
index
9c4500429bc3eaa7245b141eb1b8ce67ec109965..0c55bab1dd8d2e75bc09a56cb11935dcac6ab6ad
100644
--- a/src/lexer/lexer.gyp
+++ b/src/lexer/lexer.gyp
@@ -71,6 +71,7 @@
're2c',
'-f',
'-c',
+ '-b',
'--output',
'<(SHARED_INTERMEDIATE_DIR)/lexer.cc',
'../../src/lexer/lexer.re',
--
--
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.