v8/test/unittests/wasm
Manos Koukoutos 95e8d86709 [wasm-gc] Allow struct.new_with_rtt as constant expression
Changes:
- Add struct.new_with_rtt as a new WasmInitExpr. Parse it in
  consume_init_expr(). Add it to
  InstanceBuilder::EvaluateInitExpression().
- Change WasmInitExpr::operand_ to vector operands_.
- In consume_init_expr(), use parsed over hard-coded opcode length.
- Improve WasmStruct::WasmStructPrint slightly.
- Add Factory::NewWasmStruct().
- Add WasmValue::CopyToWithSystemEndianness.
- In wasm-module-builder.js, generalize emit_init_expr for expressions
  with operands. Add missing init. expression types.
- Add tests.

Bug: v8:7748
Change-Id: Ica12378d202730aff1b57c7d4240aa00ef124f8e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2940893
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75006}
2021-06-08 08:57:07 +00:00
..
control-transfer-unittest.cc [wasm][interpreter][eh] Implement catch with immediate 2021-02-11 15:38:56 +00:00
decoder-unittest.cc [wasm] Simplify LEB decoding 2020-10-08 13:58:01 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
function-body-decoder-unittest.cc [wasm] Maintain existing values in TypeCheckStackAgainstMerge 2021-06-04 21:37:16 +00:00
leb-helper-unittest.cc [wasm] Rename {ValidateFlag} constants 2020-09-30 13:19:03 +00:00
liftoff-register-unittests.cc [wasm][liftoff][arm64] Avoid x28 even without pointer compression 2021-03-12 13:07:17 +00:00
loop-assignment-analysis-unittest.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
module-decoder-memory64-unittest.cc [IWYU] Fix includes of wasm-engine.h 2021-03-08 11:33:59 +00:00
module-decoder-unittest.cc [wasm-gc] Allow struct.new_with_rtt as constant expression 2021-06-08 08:57:07 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
simd-shuffle-unittest.cc [wasm-simd][liftoff][x64] Optimize shuffles (swizzles) 2020-08-04 17:03:05 +00:00
streaming-decoder-unittest.cc [wasm] Pass correct code section start in streaming compilation 2020-11-30 17:02:11 +00:00
subtyping-unittest.cc [wasm-gc] Implement function subtyping 2021-04-15 11:01:05 +00:00
trap-handler-posix-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
trap-handler-win-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
trap-handler-x64-unittest.cc [wasm][test] Fix for gcc 7.4 2021-04-30 17:10:00 +00:00
wasm-code-manager-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
wasm-compiler-unittest.cc Reland "[codegen][frames] Generalize argument padding slot code" 2021-03-05 22:35:30 +00:00
wasm-gdbserver-unittest.cc [wasm] [debugging] Fix --wasm-gdb-remote 2020-12-08 19:37:25 +00:00
wasm-macro-gen-unittest.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
wasm-module-builder-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
wasm-module-sourcemap-unittest.cc Add source map support of WasmModule 2019-08-26 15:19:02 +00:00