Closed Bug 1507492 Opened Last year Closed 7 months ago
.fill instruction and Table .fill JS API
47 bytes, text/x-phabricator-request
|Details | Review|
In the same way we have memory.fill, we will have table.fill, both as a wasm instruction and as a JS API. There's no spec for this yet, but it should be considered a sequence of set() calls, from lower to higher indices. There's going to be some bikeshedding about whether to check the bounds before the first assignment or as we perform each set. At the moment tables are not shared and the former makes more sense. If/when tables become shared then the latter will make more sense.
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/bb90214b7f33 Implement the Wasm table.fill instruction. r=lhansen.
You need to log in before you can comment on or make changes to this bug.