Closed Bug 1662127 Opened 4 years ago Closed 4 years ago

Prep patches for stencil-mvp

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(3 files, 1 obsolete file)

Small fixups needed to off-thread parse without a parse global.

After Bug 1660798, the TokenStreamPosition no longer uses JSAtoms and the
AutoKeepAtoms argument is not needed.

The SharedImmutableStrings cache is not tied to gc::Zone so use the JSRuntime
directly from the JSContext instead.

Depends on D88860

Instead of relying on the parseGlobal to determine the runtime, store it
directly.

Depends on D88861

Depends on D88862

Attachment #9173109 - Attachment is obsolete: true
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae059ddb84d6 Remove AutoKeepAtoms argument from TokenStream. r=djvj https://hg.mozilla.org/integration/autoland/rev/cd3ce7f147ba Avoid needing active Realm for ScriptSource initialization. r=djvj https://hg.mozilla.org/integration/autoland/rev/90a8bcbdc9bc Add ParseTask::runtime field. r=djvj
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: