Closed
Bug 1850989
Opened 1 year ago
Closed 1 year ago
Cleanup Wasm (tail) calls code
Categories
(Core :: JavaScript: WebAssembly, enhancement)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: yury, Assigned: yury)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(3 files)
This is catch-all bug for follow up work. Mostly to tidy up the code base.
Items discovered e.g. during bug 1846762:
- some FunctionCompiler functions does not need isDeadCode check, e.g. at
callRef
- still have
if (!action) { return false; } return true;
More discoveries:
- Unused instrumentation:
CodeOffset* fastCallOffset = &t;
at e.g. wasmReturnCallIndirect - Move temp register (in wasmCollapseFrame operation, e.g. e.g.
static constexpr Register tempForRA = ABINonArgReg2;
) into Assembler-xxx.h files, and give it more descriptive name.
Maybe more
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → ydelendik
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•1 year ago
|
||
Address preexisting if (e) return false; return true;
in wasm code.
readability-simplify-boolean-expr
Depends on D192117
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D192118
Pushed by ydelendik@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/61f7bb9a3678
Replace superfluous inDeadCode checks with assert. r=rhunt
https://hg.mozilla.org/integration/autoland/rev/f06d3ef22e4c
Fix readability-simplify-boolean-expr in wasm code. r=rhunt
https://hg.mozilla.org/integration/autoland/rev/b837f069626d
Make temp registers used in tail calls ops global. r=rhunt
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/61f7bb9a3678
https://hg.mozilla.org/mozilla-central/rev/f06d3ef22e4c
https://hg.mozilla.org/mozilla-central/rev/b837f069626d
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•