Closed Bug 1863746 Opened 2 years ago Closed 2 years ago

Update text format and internal names for last minute GC changes

Categories

(Core :: JavaScript: WebAssembly, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: rhunt, Assigned: jpages)

References

Details

Attachments

(4 files, 2 obsolete files)

The GC proposal had a couple last minute changes to instruction names.

i31.new -> ref.i31
extern.internalize -> any.convert_extern
extern.externalize -> extern.convert_any

https://webassembly.github.io/gc/core/text/instructions.html#reference-instructions

We should update wast, our tests, and our internal binary names.

This is not user facing, so not a high priority.

Assignee: nobody → jpages

Ben Already updated this one:

i31.new -> ref.i31

See: https://github.com/bytecodealliance/wasm-tools/commit/3fa59ade8a8819e3a9ad39f3f5c6a310b6454bc4

The other two still need to be updated.

If/then/else parsing was changed in wast. An if must have a
corresponding then, if any, else is mandatory as well.

Depends on D193719

If/then/else parsing was changed in wast. An if must have a
corresponding then, if any, else is mandatory as well.

Depends on D194157

Due to a last minute change in wasm-gc spec, the following instructions
are renamed:
extern.internalize -> any.convert_extern
extern.externalize -> extern.convert_any

Depends on D194158

Attachment #9363806 - Attachment is obsolete: true
Attachment #9363805 - Attachment is obsolete: true
Pushed by jpages@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d3f2437b7aae wasm: Update crates for wasm-tools. r=rhunt,supply-chain-reviewers https://hg.mozilla.org/integration/autoland/rev/651c33ce3a00 wasm: Update tests after changes in wast. r=rhunt,yury https://hg.mozilla.org/integration/autoland/rev/7725320e9249 wasm: Rename some wasm-gc instructions. r=rhunt https://hg.mozilla.org/integration/autoland/rev/a62ab1eae5ce Update wasmparser to version 5.9.0. r=yury,devtools-reviewers
Pushed by jpages@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4c2824901b25 wasm: Update crates for wasm-tools. r=rhunt,supply-chain-reviewers https://hg.mozilla.org/integration/autoland/rev/fa924267e288 wasm: Update tests after changes in wast. r=rhunt,yury https://hg.mozilla.org/integration/autoland/rev/078db2f254d9 wasm: Rename some wasm-gc instructions. r=rhunt https://hg.mozilla.org/integration/autoland/rev/c451aefee42d Update wasmparser to version 5.9.0. r=yury,devtools-reviewers
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Flags: needinfo?(jpages)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: