Closed Bug 1845702 Opened 11 months ago Closed 10 months ago

Make JS::OwningCompileOptions movable

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

In order to convert the result of off-thread compilation to runtime error, the filename pointed by CompileError must be kept alive until the conversion.
The ScriptLoader usage will use JS::OwningCompileOptions as storage for compile option, so JS::OwningCompileOptions should be carried with the compile result to the main thread.

Depends on D184663

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/092a36ce6467
Make OwningCompileOptions movable. r=bthrall
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: