Closed Bug 1604288 Opened 5 years ago Closed 5 years ago

Use JSFunction::baseScript in more places

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

The JSFunction::lazyScript() accessor is deprecated now that LazyScript accessors are moved to BaseScript. We can also replace a number of calls to nonLazyScript() in cases where information is defined on both lazy and non-lazy scripts.

Once JSScript and LazyScript are unified, the lazyScript() accessor will be
removed. Also avoid using nonLazyScript() when it is not necessary. A few
calls to isInterpretedLazy() are removed for same reasons.

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2afe2627f257 Use JSFunction::baseScript() instead of lazyScript/nonLazyScript. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: