Closed Bug 835578 Opened 8 years ago Closed 8 years ago

IonMonkey: let dead comparison constants die

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
This patch fixes a bug where a constant that flows into an MCompare gets useRegister'd which causes it to be emitted as a dead register mov, even though the constant gets embedded as an immediate in the cmp instruction.
Attachment #707313 - Flags: review?(dvander)
Attachment #707313 - Flags: review?(dvander) → review+
https://hg.mozilla.org/mozilla-central/rev/a16bd9c18600
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.