v8/test
marja@chromium.org 76646e88ed Unify paren handling in Parser and PreParser.
It is only needed in (Pre)Parser::ParseExpressionOrLabelledStatement for not
recognizing parenthesized identifiers as labels and in
(Pre)Parser::ParseSourceElements for not recognizing a parenthesized string as
directive prologue.

Parser Expressions don't keep track of whether they're parenthesized, so
PreParser Expressions shouldn't either.

In addition, add helper funcs for checking if an Expression is identifier or a
given identifier. (PreParser Expressions can do this.)

BUG=3126
LOG=N
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/150103004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19140 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-02-06 10:30:02 +00:00
..
benchmarks Update benchmark test suite. 2013-11-20 15:05:52 +00:00
cctest Unify paren handling in Parser and PreParser. 2014-02-06 10:30:02 +00:00
intl Implements ES6 String.prototype.normalize method. 2014-01-31 08:09:17 +00:00
message Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
mjsunit Binary operation deoptimization fix. 2014-02-06 09:36:55 +00:00
mozilla Skip Mozilla tests with timeouts. 2014-01-29 15:13:45 +00:00
preparser Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test262 Remove CallICs 2014-01-31 16:52:17 +00:00
webkit Make strict more error messages about "eval" and "arguments" less specific. 2014-02-05 16:26:48 +00:00