Closed Bug 2011483 Opened 9 months ago Closed 9 months ago

Add a static analysis to discourage use of Rooted in loops

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1362038

People

(Reporter: mgaudet, Unassigned)

Details

Putting a Rooted in a loop is overhead easily avoided. We should have a static analysis to try and prevent this.

(I foresee some challenges, e.g. do { .. } while(0) loops)

See also bug 1362038.

Status: NEW → RESOLVED
Closed: 9 months ago
Duplicate of bug: 1362038
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.