Open Bug 1780504 Opened 2 years ago Updated 1 year ago

Summarize and revisit the requirement for non-syntactic scope

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

ASSIGNED

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Once ESMification (bug 1308512) finishes, we'll be able to remove one of the biggest consumer of non-syntactic scope.
We should revisit the remaining consumer and think about the requirement and possible optimization with possibly slight change on the semantics.

One possible optimization is explained in bug 793345, that we can change the global variable declaration semantics, to allow shadowing the environment properties.
That way frontend can collect the known bindings and we can emit more optimized code for access for known global variables.

\o/ \o/

Depends on: 1780543
Depends on: 1782450
Depends on: 1842441
You need to log in before you can comment on or make changes to this bug.