jit::EliminateDeadResumePointOperands never worked as expected.
Categories
(Core :: JavaScript Engine: JIT, enhancement, P1)
Tracking
()
People
(Reporter: nbp, Assigned: nbp)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(2 files)
jit::EliminateDeadResumePointOperands
is supposed to remove resume point operands, but the way it is implemented it removes resume point operands of resume points which are in the same block but keeps them for resume points which are in subsequent blocks, which is a non sense.
However, fixing it highlighted a set of other errors which would be fixed as dependencies of this issue.
Fixing this issue should solve the problem highlighted in Bug 1845728 comment 12.
Assignee | ||
Comment 1•1 year ago
|
||
The prinicple of EliminateDeadResumePointOperands apparently might never
have worked, except for cases where the only resume point capturing the
values where in the same block as the instruction being captured as
operands of resume points.
This change rename the local variable to better describe what it holds
as well as fixing the logic and adding a few extra comments to better
describe the reasoning behind this optimization.
Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/65b9194067b4
https://hg.mozilla.org/mozilla-central/rev/7ad5c59c746b
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
Reopening this bug given that the part 2 has been reverted by Bug 1876978:
https://hg.mozilla.org/mozilla-central/rev/42aa41fca836
Updated•1 year ago
|
Description
•