Closed Bug 1636796 Opened 4 years ago Closed 4 years ago

Add ScriptStencil::intoScript

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(2 files)

This methods will handle the JSScript allocation and will consume the ImmutableScriptData. We use "into" in the sense that Rust standard library usually does.

Use the ScriptStencil copy of flags which also includes computed flags. We
also fix up the flag computation in the SmooshFrontend to be more complete
and explicit.

Depends on D74570

This performs JSScript allocation by consuming the Stencil. For now we leave
handling of delazification compiles alone.

Depends on D74571

Attachment #9147138 - Attachment description: Bug 1636795 - Add ScriptStencil::intoScript. r?mgaudet → Bug 1636796 - Add ScriptStencil::intoScript. r?mgaudet
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/274eafbc8632
Use ScriptStencil::immutableFlags to create JSScript. r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/073c4d91181f
Add ScriptStencil::intoScript. r=mgaudet
Status: NEW → RESOLVED
Closed: 4 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: