Closed
Bug 1520996
Opened 7 years ago
Closed 7 years ago
Add dedicate ParseNode subclass for property definition and use enum kind instead of JSOp to specify getter/setter.
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla68
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: arai, Assigned: khyperia)
References
Details
Attachments
(1 file)
Bug 1501577 added emitter helper for object/class, but the consumer of it is still using JSOp to determine whether the property is getter/setter/other.
We should add another variant of ParseNode subclass for property definition (including class methods/fields) and use enum kind to tell what it is.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → khyperia
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•7 years ago
|
||
This will take a very slight memory regression until JSOP is entirely
removed from ParseNode (which will regain a lot more memory).
Comment 2•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•