[Webkit-unassigned] [Bug 247396] New: [WASM-Function-References] Add support for local initialization tracking
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 2 17:28:18 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=247396
Bug ID: 247396
Summary: [WASM-Function-References] Add support for local
initialization tracking
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
The typed function references proposal introduces non-defaultable types such as `(ref $t)`. References that inhabit those types must be initialized, and can't be used in an uninitialized state (like null).
As a result, it's necessary to track local initialization state somehow so that `local.get` can be disallowed on uninitialized references, and have a defined result on initialized locals.
The issue tracking the spec algorithm: https://github.com/WebAssembly/function-references/pull/63
The chosen algorithm for this is "1a" from here: https://github.com/WebAssembly/function-references/issues/44#issuecomment-1136373660 (initialization state is reset after each block)
--
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/20221103/f5e6d243/attachment.htm>
More information about the webkit-unassigned
mailing list