Closed Bug 1637418 Opened 4 years ago Closed 4 years ago

Change ref.func global initializers to declare function as valid ref.func target

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

Details

Attachments

(1 file)

This is issue#76 [1] and was discussed in CG meeting 05-12-20 where we resolved to treat all ref.func instruction in the 'module environment' as a declaration that a function index is a valid ref.func target in the code section.

[1] https://github.com/WebAssembly/reference-types/issues/76

The CG agreed to resolve reference-types#76 by treating all ocurrences of ref.func
in the 'module environment' as declaring a valid ref.func target for the code
section. Currently the only place we don't do this is in the global section.

[1] https://github.com/WebAssembly/reference-types/issues/76

Priority: -- → P2
Attachment #9147790 - Attachment description: Bug 1637418 - Allow global initializers to declare valid ref.func targets. r?lth → Bug 1637418 - Allow whole module environment to declare valid ref.func targets. r?lth
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/39a3f904ac83
Allow whole module environment to declare valid ref.func targets. r=lth
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: