Closed Bug 1837965 Opened 2 years ago Closed 2 years ago

Support initializing JS::OwningCompileOptions with JS::FrontendContext

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

In order to pass compile option from the main thread to off-thread, the consumer needs to allocate and initialize JS::OwningCompileOptions, and it should use JS::FrontendContext to allocate filenames and the context needs to be kept alive during the compilation.

Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/75ebe54fbf72 Support initializing JS::OwningCompileOptions with JS::FrontendContext. r=nbp
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: