Reviewers: ulan,
Message:
ulan, ptal of this fixed version.
I commented here: https://codereview.chromium.org/166943002/ what the bug
was.
Description:
(Pre)Parser: Simplify NewExpression handling (fixed).
Notes:
- We use simple recursion to keep track of how many "new" operators we have
seen
and where.
- This makes the self-baked stack class PositionStack in parser.cc
unnecessary.
- Now the logic is also unified between Parser and PreParser.
- This is a fixed version of r19386.
[email protected]
BUG=v8:3126
LOG=N
Please review this at https://codereview.chromium.org/168583008/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+151, -144 lines):
M src/parser.h
M src/parser.cc
M src/preparser.h
M src/preparser.cc
M test/cctest/test-parsing.cc
--
--
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.