Closed
Bug 1631997
Opened 5 years ago
Closed 5 years ago
Compute the NeedsFunctionEnvironmentObjects flag in parser
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(3 files)
The NeedsFunctionEnvironmentObjects
script flag can be computed in the parser for both lazy and non-lazy scripts if we use the ParseContext::Scope
binding data.
Assignee | ||
Comment 1•5 years ago
|
||
This is no longer needed now that legacy generators are not supported and we
know that a function is async/generator from the start.
Assignee | ||
Comment 2•5 years ago
|
||
This computes the NeedsFunctionEnvironmentObjects flag in Parser by computing
the equivilent to the needsCallObject and needsNamedLambdaEnvironment
conditions using the parse-scope data.
Depends on D71857
Assignee | ||
Comment 3•5 years ago
|
||
Be more consistent with the previous patch and tighten asserts.
Depends on D71858
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4a92d7bb22ae
Remove the MarkAllBindingsClosedOver mechanism r=arai
https://hg.mozilla.org/integration/autoland/rev/4c7821f84bf5
Compute NeedsFunctionEnvironmentObjects flag in Parser r=arai,mgaudet
https://hg.mozilla.org/integration/autoland/rev/e6df6f244ce8
Cleanup computation of FunctionHasExtraBodyVarScope r=arai
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4a92d7bb22ae
https://hg.mozilla.org/mozilla-central/rev/4c7821f84bf5
https://hg.mozilla.org/mozilla-central/rev/e6df6f244ce8
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•