Closed
Bug 875917
Opened 11 years ago
Closed 11 years ago
Use xor instead of movl to zero a register in a few places
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: sunfish, Unassigned)
Details
Attachments
(2 files)
1.71 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
988 bytes,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
CodeGenerator-x86-shared.cpp and CodeGenerator-x86.cpp both currently use mov to zero a register in a context where the condition codes aren't live.
Reporter | ||
Comment 1•11 years ago
|
||
Attachment #753934 -
Flags: review?(luke)
Comment 2•11 years ago
|
||
Comment on attachment 753934 [details] [diff] [review]
a proposed fix
Thanks!
Attachment #753934 -
Flags: review?(luke) → review+
Reporter | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
just as a stupid follow-up nit, note that if the else branch has brackets, then our style requires all branches to have brackets.
Comment 5•11 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Reporter | ||
Comment 6•11 years ago
|
||
Attachment #760507 -
Flags: review?(sstangl)
Updated•11 years ago
|
Attachment #760507 -
Flags: review?(sstangl) → review+
Reporter | ||
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•