Closed Bug 998172 Opened 6 years ago Closed 6 years ago

Clean up unnecessary parentheses

Categories

(Core :: JavaScript Engine: JIT, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: sunfish, Assigned: sunfish)

Details

Attachments

(1 file)

Various places in SpiderMonkey use parentheses around return values.
This patches removes parentheses from return statements in numerous places, converting "return (x);" to "return x;".
Assignee: nobody → sunfish
Attachment #8408732 - Flags: review?(nicolas.b.pierron)
Attachment #8408732 - Flags: review?(nicolas.b.pierron) → review+
https://hg.mozilla.org/mozilla-central/rev/b46a88e69236
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.