Closed Bug 1587943 Opened 5 years ago Closed 5 years ago

JSFunction should not be INTERPRETED_LAZY without a valid LazyScript

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

These are minor cleanups since JSFunction INTERPRETED_LAZY script is not used with a null LazyScript anymore.

We disallow marking JSFunctions as INTERPRETED_LAZY until we have a real
LazyScript to bind to them. Partially initialized scripted functions
remain INTERPRETED but their script pointer may be null. This patch
clears up rough edges around this behaviour but semantics should largely
be unchanged.

Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ea6183ea37d4
JSFunction should not be lazy without a LazyScript. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: