Closed Bug 1813016 Opened 3 years ago Closed 3 years ago

Remove unnecessary MDefinition::updateForReplacement() overrides

Categories

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

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.

MMul doesn't need to override updateForReplacement(), because MMul::congruentTo()
already ensures the mode and canBeNegativeZero fields match. See also bug 886243
and bug 940642.

MConstant doesn't need to override updateForReplacement(), because its congruentTo()
method ensures the result-type is equal. See also bug 1246658.

The return value isn't used anymore, so we can change this to return void.

Depends on D168061

Blocks: sm-opt-jits
Severity: -- → N/A
Priority: -- → P1

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:anba, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(iireland)
Flags: needinfo?(andrebargull)
Flags: needinfo?(iireland)

MPhi is the only instruction which implements updateForReplacement(), so let's
make it a non-virtual method.

Depends on D168062

Flags: needinfo?(andrebargull)
Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ce035692dc40 Part 1: Remove unnecessary MDefinition::updateForReplacement() overrides. r=iain https://hg.mozilla.org/integration/autoland/rev/200467114232 Part 2: Change MDefinition::updateForReplacement() to return void. r=iain https://hg.mozilla.org/integration/autoland/rev/b0b4e87d37b1 Part 3: Make updateForReplacement() a non-virtual method on MPhi. r=iain
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit auto_nag documentation.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: