v8/test/common/wasm
Jakob Kummerow 6168782925 [wasm-gc] call_ref: consume a type immediate
Per https://github.com/WebAssembly/function-references/pull/76,
call_ref and return_call_ref should consume type immediates specifying
the signature of the funcref. This is a breaking change.

To ease the migration, this patch introduces a temporary alternative
binary encoding for call_ref:
- 0x14 continues to *not* take a type immediate for now.
- 0x17 (formerly "let") is the new call_ref *with* type immediate. Module
  producers are encouraged to emit this encoding ASAP.
- After a few weeks of transitionary period, we'll update 0x14 to
  take a type immediate as well. At this point, module producers will be
  encouraged to switch back to 0x14.
- After a few more weeks of transitionary period, we'll drop 0x17 again.

We're not doing the same dance for return_call_ref because it currently
has no uses that we know of.

Bug: v8:7748,v8:9495
Change-Id: Id8d468be3949f84571efff713c937ffd1addff70
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3863280
Reviewed-by: Matthias Liedtke <mliedtke@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82839}
2022-08-30 17:51:49 +00:00
..
flag-utils.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [wasm-gc] Split any and extern type 2022-07-28 13:09:55 +00:00
wasm-interpreter.cc [wasm] Use v8_flags for accessing flag values 2022-08-29 12:43:46 +00:00
wasm-interpreter.h [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
wasm-macro-gen.h [wasm-gc] call_ref: consume a type immediate 2022-08-30 17:51:49 +00:00
wasm-module-runner.cc [wasm-gc][refactor] Rename optRef -> refNull 2022-07-01 12:33:23 +00:00
wasm-module-runner.h Reland "Remove some unused includes" 2022-07-05 16:44:13 +00:00