v8/test
Ben Smith 9010424ff5 Reland "[wasm] Implement table.init for interpreter"
This is a reland of 63608968b6

The previous CL failed on Windows, but it was a general bug. The
dropped_elem_segments was not being set on the instance properly in
cctests, so`table.init` instructions would fail by reading uninitialized
data.

I took this opportunity to also add an implementation of
`elem.drop` in the interpreter, and ported the JS tests for those too.

Original change's description:
> [wasm] Implement table.init for interpreter
>
> This also fixes CheckCallViaJS when a trap occurs. In that case, the
> trap callback is called instead of an exception being thrown, so if it
> isn't handled, a bogus result will be returned instead.
>
> Bug: v8:8965
> Change-Id: I560e89f353756df23c062fb8c9484d9971c19253
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1539078
> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
> Commit-Queue: Ben Smith <binji@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#60473}

Bug: v8:8965
Change-Id: Ia547d9530b7ca67fde5bd94539f49153b796e82d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1547142
Commit-Queue: Ben Smith <binji@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60664}
2019-04-05 20:09:33 +00:00
..
benchmarks Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
cctest Reland "[wasm] Implement table.init for interpreter" 2019-04-05 20:09:33 +00:00
common [wasm] Use engine's allocator consistently 2019-04-03 14:33:30 +00:00
debugger Reland "[debug] Mark toLocaleString and TA#join builtins as side-effect free." 2019-04-02 18:47:12 +00:00
fuzzer [wasm] Use engine's allocator consistently 2019-04-03 14:33:30 +00:00
inspector [cleanup] Replace underscore by minus in d8 flags 2019-04-03 12:32:08 +00:00
intl [Int] Allow 'narrow' for all types in ListFormat 2019-04-05 18:05:00 +00:00
js-perf-test [js-perf-test] Add more WeakMap perf tests 2019-03-25 10:47:29 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [Int] Allow 'narrow' for all types in ListFormat 2019-04-05 18:05:00 +00:00
mjsunit Reland "[wasm] Implement table.init for interpreter" 2019-04-05 20:09:33 +00:00
mkgrokdump Make mkgrokdump depend on the page size 2019-03-18 17:49:48 +00:00
mozilla [torque]: Allow const-qualified struct and class fields 2019-04-03 10:55:33 +00:00
preparser [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
test262 [Int] Allow 'narrow' for all types in ListFormat 2019-04-05 18:05:00 +00:00
torque [torque] Indexed class field initialization 2019-04-04 17:58:59 +00:00
unittests [wasm-hints] Resolve Performance Problem 2019-04-05 11:07:00 +00:00
wasm-js [testrunner] handle timeout param in file 2019-02-27 17:49:17 +00:00
wasm-spec-tests [wasm] Update core spec tests 2019-03-28 15:25:12 +00:00
webkit [parser] Improve parse error message for missing name in FunctionDeclaration 2019-03-20 16:46:29 +00:00
BUILD.gn Add target for common test headers 2019-02-12 09:30:01 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00