Closed Bug 1636247 Opened 5 years ago Closed 5 years ago

Remove ParserBase::sourceObject_ field

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

This field is used to allocate new BaseScripts in the parser, but we have deferred that until after parsing. Let's remove the field. The BinAST case still needs access, but it can use compilationInfo_.sourceObject instead.

This data can instead be accessed from CompilationInfo. As well, the only use
was to allocate lazy BaseScripts and that code is being moved outside the
Parser.

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc86ec704887 Remove ParserBase::sourceObject_ field. r=mgaudet
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: