Enable reftypes + repurpose the --wasm-gc flag / about:config option for the "gc" feature
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
References
Details
Attachments
(2 files, 1 obsolete file)
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Another note: We probably should not remove --wasm-gc, but we should repurpose it so that it enables struct types, once reftypes land for good and we don't require --wasm-gc or gc_feature_opt_in for reftypes.
Assignee | ||
Comment 4•7 years ago
|
||
Hacky patch to enable gc content for ion, may need additional work.
Assignee | ||
Comment 5•7 years ago
|
||
Poaching, it's a good Friday project...
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
Depends on D21691
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 8•7 years ago
|
||
Those two patches sit on top of Julian's patch for Ion stack maps, and together they should be enough to:
- make the reftypes proposal depend only on ENABLE_WASM_REFTYPES being enabled, not any command-line switch
- remove the need for the gc_feature_opt_in header in content that uses only the reftypes features
- make the --wasm-gc switch enable only the experimental GC features, provided ENABLE_WASM_GC is defined
Once these land, reftypes will be enabled by default on Nightly.
The most surprising change here is possibly to wasm/gc/directives.txt, where I removed the configuration "--wasm-gc --wasm-compiler=ion". This is now a meaningless configuration (it will always fail) because --wasm-gc means "the GC features" and not "reftypes + GC".
Updated•7 years ago
|
Updated•7 years ago
|
Comment 10•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/80c1ab6a0f32
https://hg.mozilla.org/mozilla-central/rev/8085449bd426
Description
•