v8/test
Peter Marshall 81a3742a88 [typedarray] Port TypedArray.from to CSA.
Factor out IterableToList into a helper stub to save space. There are
two callers now, TypedArrayFrom and ConstructByIterable, and it is
~2.5kb so we save space by doing this.

Increase test coverage to cover more of the branching in CSA.

This is doesn't follow the control flow in the spec exactly - see the
big code comment for an explanation.

Change-Id: Ief39e93c4202cb7bf0e28a39dc6aa81b8b9c59d2
Reviewed-on: https://chromium-review.googlesource.com/908755
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51377}
2018-02-19 16:49:39 +00:00
..
benchmarks [test] Forgive tests timing out on num-fuzzers 2018-02-08 23:08:05 +00:00
cctest Reland "Introduce ConcurrentMarking::StopRequest API." 2018-02-19 14:46:44 +00:00
common [wasm] Add remaining saturating conversions 2018-02-07 19:45:39 +00:00
debugger [debug] move side-effect tests into subfolder 2018-02-19 08:08:45 +00:00
fuzzer [multi-return] Restrict number of params and returns in the fuzzer 2018-02-12 10:07:38 +00:00
inspector [heap-profiler] Annotate global handles retained by console and debugger. 2018-02-19 12:21:52 +00:00
intl [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00
js-perf-test Add Peter as an owner of the JSTests benchmark 2018-02-13 02:49:25 +00:00
memory
message [parsing] Provide location for function redeclaration error. 2018-02-01 20:46:11 +00:00
mjsunit [typedarray] Port TypedArray.from to CSA. 2018-02-19 16:49:39 +00:00
mkgrokdump [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00
mozilla [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00
preparser [test] Remove dead code from suites and tests 2018-02-01 14:12:49 +00:00
test262 Ship JSON ⊂ ECMAScript 2018-02-16 22:21:45 +00:00
unittests Reland "[bigint] Add BigInt64Array, BigUint64Array" 2018-02-19 10:23:18 +00:00
wasm-spec-tests Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
webkit Revert "[builtins] Mega-revert to address the Dev blocker in crbug.com/808911." 2018-02-08 17:25:13 +00:00
bot_default.isolate
BUILD.gn [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
d8_default.isolate [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
default.isolate
optimize_for_size.isolate
perf.isolate Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00