Closed
Bug 1315640
Opened 9 years ago
Closed 9 years ago
Clean up: simplify unnecessary loop
Categories
(Core :: JavaScript Engine: JIT, defect, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | fixed |
People
(Reporter: bbouvier, Assigned: bbouvier)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, Whiteboard: [CID 1394251])
Attachments
(1 file)
Coverity found out that a loop's top in MBinaryBitwiseInstruction::foldUnnecessaryBitop was unreachable. According to the comment right above, it's expected, but let's make this clear by not having a loop at all.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8808112 [details]
Bug 1315640: Split unnecessary loop into linear code;
https://reviewboard.mozilla.org/r/91038/#review90778
Good catch.
Attachment #8808112 -
Flags: review?(nicolas.b.pierron) → review+
Updated•9 years ago
|
Blocks: coverity-analysis
Pushed by bbouvier@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/750b9537efcd
Split unnecessary loop into linear code; r=nbp
Updated•9 years ago
|
Priority: -- → P5
Comment 5•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•