Closed
Bug 1639612
Opened 6 years ago
Closed 6 years ago
Factor *Scope::Data structures into GC, Non-GC, and NamesList components.
Categories
(Core :: JavaScript Engine, task, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla79
| Tracking | Status | |
|---|---|---|
| firefox79 | --- | fixed |
People
(Reporter: djvj, Assigned: djvj)
References
Details
Attachments
(1 file)
This is a blocker for atoms translation work. All the current Scope::Data structures are used both by VM-lifetime Scope structures (e.g. LiteralScope, VarScope, etc.) as well as by parser-internal code (within FunctionBox, for example).
The parser-internal code needs to reference the parser representation of atoms, while
the overall structure should be one that's easily translateable to the corresponding in-vm Scope::Data type.
The plan here is to abstract the implementation of TrailingNamesArray, as well as pull the non-gc fields of the various Scope::Data structures into their own corresponding Fields structs.
This lets the parser later implement its own surrogates for the ::Data structures that use parser-internal name representations.
| Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee: nobody → kvijayan
Status: NEW → ASSIGNED
Updated•6 years ago
|
Severity: -- → N/A
Priority: -- → P2
Pushed by kvijayan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f1873b1c400
Reorganize Scope::Data structures to factor out non-GC state used by the parser. r=tcampbell
Comment 3•6 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•