Closed Bug 1652176 Opened 5 years ago Closed 5 years ago

Change parser code to use `parserNames()` alias for `cx->names()`, in preparation for ParserAtoms landing

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: djvj, Assigned: djvj)

References

Details

Attachments

(1 file)

This splits off just the renames of cx->names() to cx->parserNames() from the hairball parser-atoms patch and lands it independently.

It can be landed directly in the codebase using the PARSER_ATOMS compile-time flag to select an implementation of parserNames() that simply returns the same value as names().

When being enabled, parser-atoms can redefine the paserNames() method to the one holding parser-atoms.

Main purpose of this patch is to reduce the size of the main parser-atoms patch.

Assignee: nobody → kvijayan
Status: NEW → ASSIGNED
Pushed by kvijayan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9a3c8a590f59 Change parser code to use `parserNames()` alias for `cx->names()`. 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: