Closed Bug 687185 Opened 13 years ago Closed 12 years ago

remove flat closures

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 730497

People

(Reporter: bhackett1024, Unassigned)

Details

With bug 663138 done, accesses on closures are very fast, and should subsume flat closures and the various stuff (upvar cookies?) and analyses involved in tracking related state.
JITs should be able to know ask for the (depth, index) of variables accessed on the scope chain. It may even be needed (or desired) for bug 659577. Does TI provide that information? Even if not, the computation done to make UpvarCookies might want to be redone.
With bug 663138 JITs don't normally need to walk the scope chain at all.  If important cases are found where they still do, the (depth, index) is computable from the script nesting and binding state.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.