Closed Bug 1734520 Opened 3 years ago Closed 3 years ago

Remove JS::DecodeScriptMaybeStencil

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

legacy XDR is removed and now XDR is always stencil.
we should use JS::DecodeStencil and JS::InstantiateGlobalStencil instead of JS::DecodeScriptMaybeStencil

The current comment was describing previous behavior for encode/merge,
that merges the stencil on decode.
Now the merge happens on encode, and the condition is different.

Depends on D127858

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/6219b4119022
Part 1: Use JS::DecodeStencil in JSExecutionContext. r=nbp
https://hg.mozilla.org/integration/autoland/rev/fe1c396d6c23
Part 2: Use JS::DecodeStencil in JS shell evaluate. r=nbp
https://hg.mozilla.org/integration/autoland/rev/123358dfd864
Part 3: Remove JS::DecodeScriptMaybeStencil. r=nbp
https://hg.mozilla.org/integration/autoland/rev/1377c1785022
Part 4: Do not use JS::DecodeScriptAndStartIncrementalEncoding in JS shell execute. r=nbp
https://hg.mozilla.org/integration/autoland/rev/c6206994c5fb
Part 5: Remove JS::DecodeScriptAndStartIncrementalEncoding. r=nbp
https://hg.mozilla.org/integration/autoland/rev/994e05cb412f
Part 6: Remove TranscodeBuffer-based construction from XDRStencilDecoder. r=nbp
https://hg.mozilla.org/integration/autoland/rev/85f9fc8c2473
Part 7: Fix stale comment about delazification/relazification and merge. r=nbp
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: