Closed Bug 1635109 Opened 5 years ago Closed 5 years ago

Cleanups in JS::CompileOptions

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)

There are a few more options that should be moved to the TransitiveCompileOptions and some basic dead code removal.

Priority: P1 → P3

The nonSyntacticScope and skipFilenameValidation options do not vary
throughout compilation so they should be TransitiveCompileOptions.

Remove (unused) ability to clone TransitiveCompileOptions& since we now
expect these options to no long vary within a compilation. The only cloning
of CompileOptions should be of the complete ReadOnlyCompileOptions set in
order to make adjustments before the compile starts.

Depends on D73694

Severity: -- → N/A
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0cbe127cb0cc Move more options to TransitiveCompileOptions. r=caroline https://hg.mozilla.org/integration/autoland/rev/fc86233b13b7 Cleanup CompileOptions constructors. 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: