fun->nargs and fun->flags are public fields, and used during Ion compilation. These should use accessor methods to add locking assertions and mark accesses on them as threadsafe. The attached patch makes this change, and makes the remaining fields of JSFunction private (the big complicated union was still public though there are no accesses to it outside of JSFunction).
Attachment #8346901 - Flags: review?(jdemooij)
Attachment #8346901 - Flags: review?(jdemooij) → review+
Assignee: nobody → bhackett1024
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.