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.
R=ulan@chromium.org
BUG=v8:3126
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=19417
Patch Set 1 #Patch Set 2 : comments #Patch Set 3 : one more comment #
Messages
Total messages: 3 (0 generated)
|