Closed
Bug 1651750
Opened 5 years ago
Closed 5 years ago
Remove ParserAtomId and ParserNameId, replace with pointers-to-parser-atoms.
Categories
(Core :: JavaScript Engine, task)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla80
| Tracking | Status | |
|---|---|---|
| firefox80 | --- | fixed |
People
(Reporter: djvj, Assigned: djvj)
References
Details
Attachments
(1 file)
Now that the parser-atoms patch is correct up to jit-tests, it's time to simplify for review.
This reasoning is explained across various comments in the main bug, but it serves to repeat it here.
Initially, ParserAtomId and ParserNameId were created and used because the original representation of parser-atom references were indexes into a table. As this approach
proved less desirable, the eventual (current) implementation saw these types become simple wrappers around pointers-to-ParserAtomEntry.
The pointer-ness of these ids is pretty explicit in the code now, and they do not serve any purpose except to get in the way of obtaining the pointer.
| Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → kvijayan
Status: NEW → ASSIGNED
Pushed by kvijayan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/339f7ef099eb
Remove ParserAtomId and ParserNameId, replace with pointers-to-parser-atoms. r=tcampbell
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•