Remove unnecessary MDefinition::updateForReplacement() overrides
Categories
(Core :: JavaScript Engine: JIT, task, P1)
Tracking
()
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
| Assignee | ||
Comment 1•3 years ago
|
||
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.
| Assignee | ||
Comment 2•3 years ago
|
||
The return value isn't used anymore, so we can change this to return void.
Depends on D168061
Updated•3 years ago
|
Comment 3•3 years ago
|
||
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.
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
MPhi is the only instruction which implements updateForReplacement(), so let's
make it a non-virtual method.
Depends on D168062
| Assignee | ||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ce035692dc40
https://hg.mozilla.org/mozilla-central/rev/200467114232
https://hg.mozilla.org/mozilla-central/rev/b0b4e87d37b1
Comment 7•3 years ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Description
•