Closed Bug 1635128 Opened 5 years ago Closed 5 years ago

Simplify js::BaseScript flag accessors

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(2 files)

We have finished removing most of the special cases in the frontend around flag initialization and can remove more public setters from js::BaseScript.

This adds extra asserts around the TreatAsRunOnce flag. See comment where
TreatAsRunOnce once is defined for more details.

Depends on D73706

Also remove setter methods that are no longer needed.

Depends on D73713

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98be8388f69e Cleanup BaseScript::treatAsRunOnce accessors. r=caroline https://hg.mozilla.org/integration/autoland/rev/45f0f8d8f217 Sort the ImmutableScriptFlags accessors in js::BaseScript. r=caroline
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: