v8/test
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
..
benchmarks [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
bigint Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
cctest [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
common [wasm] Simplify Immediates in decoder 2021-06-04 12:18:26 +00:00
debugger [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm-gc] Allow struct.new_with_rtt as constant expression 2021-06-08 08:57:07 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [debug][cleanup] Use consistent StepInto and StepOver naming. 2021-06-01 11:26:57 +00:00
intl Implement "Extend TimeZoneName Option Proposal" 2021-05-27 08:49:22 +00:00
js-perf-test [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
mjsunit [wasm-gc] Allow struct.new_with_rtt as constant expression 2021-06-08 08:57:07 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla Re-enable mozilla/ecma/Date/15.9.5.26-1 on arm64 2021-05-25 09:20:52 +00:00
test262 [Object.hasOwn] Add Test262 feature-to-flag mapping 2021-06-07 10:39:54 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests [wasm-gc] Allow struct.new_with_rtt as constant expression 2021-06-08 08:57:07 +00:00
wasm-api-tests [trap-handler] Remove dependencies on macros, globals, flags 2021-05-17 09:32:40 +00:00
wasm-js [wasm] Update spec tests 2021-06-07 11:45:44 +00:00
wasm-spec-tests [wasm] Update spec tests 2021-06-07 11:45:44 +00:00
webkit [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS