v8/test
Manos Koukoutos 37579df74e [wasm] Complete element segment features for reftypes/typed-funcref
Main changes:
- Allow global.get in elements segments with expressions-as-elements.
- Allow element segments with types other than funcref.

Detailed changes:
- Move WasmInitExpr to its own file. Add stream opearator << support.
- Simplify type of PrintCollection.
- Make WasmElemSegment use an array of WasmInitExpr's over the previous
  ad-hoc implementation. Move null_index to WasmModuleBuilder.
- Refactor consume_element_segment_header. Make it return a
  WasmElemSegment.
- Refactor consume_element_expr. Make it return a WasmInitExpr.
- Refactor DecodeElementSection. Make it invoke
  consume_element_segment_header, then populate its element array.
- Update module-instantiate.cc to handle global.get elements.
- Fix bug in wasm-objects.cc where the wrong type index was passed into
  module()->has_signature()
- Adapt and add tests.

Change-Id: I5abfbe424dbb750ee2dca59f91c451ffcb79f95f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2857959
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74374}
2021-05-05 09:25:37 +00:00
..
benchmarks [build] Fix gn check errors in test/benchmarks/cpp 2021-04-27 10:35:33 +00:00
cctest [wasm] Complete element segment features for reftypes/typed-funcref 2021-05-05 09:25:37 +00:00
common [wasm][eh] Make stack overflows uncatchable 2021-05-03 16:18:41 +00:00
debugger [debugger] Remove "Restart frame" feature. 2021-04-29 13:08:14 +00:00
debugging [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
fuzzer [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [debugger] Don't attach source positions to implicit returns. 2021-04-30 12:33:29 +00:00
intl [Intl] Update ICU to 69-1 2021-04-20 22:37:09 +00:00
js-perf-test Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [heap] Temporarily skip CodeRange and GC tests for TPH 2021-04-29 10:02:27 +00:00
mjsunit [wasm] Complete element segment features for reftypes/typed-funcref 2021-05-05 09:25:37 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla [compiler, infra] Add a --stress-concurrent-inlining flag and a bot 2021-01-29 12:05:03 +00:00
test262 [parser] Allow escaped future reserved keywords as identifiers 2021-05-04 17:58:26 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests [wasm] Complete element segment features for reftypes/typed-funcref 2021-05-05 09:25:37 +00:00
wasm-api-tests [wasm-api] Enable trap handler in c-api tests 2021-05-03 19:48:22 +00:00
wasm-js [wasm] Update spec tests 2021-04-14 13:48:55 +00:00
wasm-spec-tests [wasm-simd] Rename no_simd_sse to no_simd_hardware to be generic 2021-04-23 00:25:29 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [no-wasm] Exclude more targets from build 2021-03-09 11:25:54 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00