[go: nahoru, domu]

Open Bug 1874456 Opened 7 months ago Updated 6 months ago

jit::EliminateDeadResumePointOperands never worked as expected.

Categories

(Core :: JavaScript Engine: JIT, enhancement, P1)

enhancement

Tracking

()

ASSIGNED

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.

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.

Attachment #9372573 - Attachment description: Bug 1874456 - Fix EliminateDeadResumePointOperands logic. r= → Bug 1874456 part 2 - Fix EliminateDeadResumePointOperands logic.
Whiteboard: [sp3]
Pushed by npierron@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/65b9194067b4
part 1 - Improve the BigInt tests cases to properly check the recovery path. r=iain
https://hg.mozilla.org/integration/autoland/rev/7ad5c59c746b
part 2 - Fix EliminateDeadResumePointOperands logic. r=iain
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Depends on: 1877357
Regressions: 1878353
Depends on: 1878353
Depends on: 1878626
Regressions: 1876978
See Also: 1876978

Reopening this bug given that the part 2 has been reverted by Bug 1876978:
https://hg.mozilla.org/mozilla-central/rev/42aa41fca836

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Target Milestone: 124 Branch → ---
Depends on: 1880670
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: