v8/test
Wiktor Garbacz 9a572e1d5f [parse tasks] Fix arrow function parameters handling.
Formal parameters of an arrow function are parsed even if the function
itself is preparsed. It is because we don't know if it is an arrow
function parameter list or just comma separated expression list.
When we parse:
 (a, b = (function c() { return a; })())
call to function c may be just part of an assignment in an expression
list, but if it's followed by:
 => { return b; }
It is an arrow function and the call to c is a default parameter.
Before we see the arrow we might have already created a parse task
to parse function c.

BUG=v8:6093

Change-Id: I59a59acfdbbfd808dab1518060748be2addcd54a
Reviewed-on: https://chromium-review.googlesource.com/493347
Commit-Queue: Wiktor Garbacz <wiktorg@google.com>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45132}
2017-05-05 12:14:22 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [cctest] Refactor CallHelper to use variadic templates 2017-05-05 12:05:45 +00:00
common [wasm] [cleanup] Extract base class for Result<T> 2017-04-28 12:32:15 +00:00
debugger [mjsunit] Remove non-existing flags from tests. 2017-05-02 08:53:51 +00:00
fuzzer [fuzzer] Make parser fuzzer handle pending exceptions. 2017-05-02 10:31:32 +00:00
inspector [js] Avoid %_ClassOf for collection builtins. 2017-05-05 10:22:17 +00:00
intl Handle private / grandfathered tags gracefully for case-conversion 2017-05-04 22:40:42 +00:00
js-perf-test [Interpreter] Fix compare bytecodehandler benchmarks for equals. 2017-04-27 11:14:21 +00:00
memory
message [asm.js] Fix validation failure in module variable import. 2017-05-05 11:39:06 +00:00
mjsunit [parse tasks] Fix arrow function parameters handling. 2017-05-05 12:14:22 +00:00
mkgrokdump Introduce mkgrokdump to update tools/v8heapconst.py. 2017-04-20 06:15:02 +00:00
mozilla [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
preparser
promises-aplus
test262 resolvedTimezone for Etc/UTC should be UTC per Ecma 402 2017-05-04 21:17:39 +00:00
unittests Enable build with shared libraries. 2017-05-05 10:59:39 +00:00
wasm-spec-tests [test] Skip slow tests 2017-04-28 07:38:13 +00:00
webkit [asm.js] Widen test coverage to message tests. 2017-03-29 08:42:32 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00