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)

task

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: 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
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: