Perma opt js/src/wasm/WasmBuiltins.cpp:456:18: error: unused variable 'activation' [-Werror,-Wunused-variable] when Gecko 87 merges to Beta on 2021-02-22
Categories
(Core :: JavaScript: WebAssembly, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox85 | --- | unaffected |
| firefox86 | --- | unaffected |
| firefox87 | --- | verified |
People
(Reporter: aryx, Assigned: asumu)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
/builds/worker/checkouts/gecko/js/src/wasm/WasmBuiltins.cpp:456:18: error: unused variable 'activation' [-Werror,-Wunused-variable]
https://hg.mozilla.org/mozilla-central/rev/0d79003d2bab8f54911d8bf7780307ab0d466895#l9.96 defined the variable outside the assert and non-debug opt builds optimize the assert statement away.
Please provide a patch which also lets opt beta and release builds succeed.
Comment 1•4 years ago
|
||
Presumably just a missing DebugOnly<>
| Assignee | ||
Comment 2•4 years ago
|
||
Whoops, sorry for the failure. Looks like the only non-debug use of the variable is #ifdefed with the exception handling build flag. I think I can just move the definition into the #ifdef and change the assert to use CallingActivation() directly as it did before. Will submit a patch to fix later today.
| Assignee | ||
Comment 3•4 years ago
|
||
This patch fixes release/beta builds where the compile flag
for Wasm exceptions are turned off.
Comment 5•4 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 6•4 years ago
|
||
Verified fixed with today's central-as-beta simulation.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•