Bug 246235

Summary: [WASM-Function-References] Change call_ref to take a type index
Product: WebKit Reporter: Asumu Takikawa <asumu>
Component: WebAssemblyAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bashorov, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 247393    

Description Asumu Takikawa 2022-10-07 14:37:53 PDT
The typed function references spec recently made a change to the format of `call_ref`: https://github.com/WebAssembly/function-references/pull/76

The instruction now takes a type index as a fixed parameter.

e.g., `(call_ref 0 (i32.const 42) (ref.func 0))` instead of `(call_ref (i32.const 42) (ref.func 0))` before.

(This also applies to `return_call_ref`)
Comment 1 Radar WebKit Bug Importer 2022-10-14 14:38:39 PDT
<rdar://problem/101187388>
Comment 2 Asumu Takikawa 2022-11-01 11:21:33 PDT
Pull request: https://github.com/WebKit/WebKit/pull/6002
Comment 3 EWS 2022-11-03 12:32:45 PDT
Committed 256285@main (e8dd2e444f29): <https://commits.webkit.org/256285@main>

Reviewed commits have been landed. Closing PR #6002 and removing active labels.