Reviewers: Mads Ager,
Description:
Refactor the scanner interface
No need to create sub strings for lazy compiles. The scanner will start
from the
start position provided.
Moved the creating of character streams into the scanner where possible.
This
uses a input buffer in the scanner class instead of a stack allocated one.
Added a UTF16 buffer for reading external ascii strings (by templating the
external two byte string one) as all the source for the builtins are
exposed as
external ascii strings.
Please review this at http://codereview.chromium.org/661367
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/objects.cc
M src/parser.cc
M src/scanner.h
M src/scanner.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev