Closed Bug 1631048 Opened 5 years ago Closed 5 years ago

Remove JSFunction::initLazyScript

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(2 files)

The JSFunction::initLazyScript function should be removed in favour general methods for any BaseScript.

Also move the pre-barrier to JSFunction::maybeRelazify for consistency even
though currently barriers are disabled while running relazification.

JSScript::fullyInitFromStencil does not encounter self-hosted lazy scripts so
remove the dead code.

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e3be97e0ace Remove JSFunction::initLazyScript/clearLazyScript. r=djvj https://hg.mozilla.org/integration/autoland/rev/744d35ad9813 Remove FunctionBox:initLazyScript. r=djvj
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: