Closed Bug 1626474 Opened 6 years ago Closed 5 years ago

Set IsFunction, IsForEval, and IsModule earlier

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: caroline, Assigned: caroline)

References

Details

Attachments

(1 file)

These three flags are all set very early on in compilation, by the specific compilation method used and not the test itself being parser, although it is not obvious that they should be included with input flags. Setting them earlier will make it obvious that these flags belong as part of the input flags and help to clarify what conditions are present and whether a stencil can be reused.

Priority: -- → P2

Probably can also remove SharedContext::kind_ and rely on these ImmutableFlags instead.

Blocks: 1627358
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4393410345bf Reorder to make IsFunction, IsForEval, and IsModule input flags. r=tcampbell
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: