[Webkit-unassigned] [Bug 254693] New: [Wasm-GC] Implement casts at Wasm-JS function call boundaries
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 29 14:42:21 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=254693
Bug ID: 254693
Summary: [Wasm-GC] Implement casts at Wasm-JS function call
boundaries
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebAssembly
Assignee: webkit-unassigned at lists.webkit.org
Reporter: asumu at igalia.com
When calling into Wasm from JS, `ToWebAssemblyValue` needs to be called on JS values to convert them to Wasm values. For GC types, this is currently not implemented.
In general, it's necessary to add a `extern.internalize` and `ref.cast` to the target Wasm type on such a call.
In the other direction, `ToJSValue` is typically a no-op for Wasm GC values, but it still needs to be enabled.
The machinery to do these casts is already in JSC, but it needs to be hooked up to code in JSToWasm.cpp and WasmToJS.cpp to do the right thing.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230329/8504eae1/attachment-0001.htm>
More information about the webkit-unassigned
mailing list