Closed Bug 1688791 Opened 3 years ago Closed 3 years ago

Remove legacy-XDR code

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: tcampbell, Assigned: arai)

References

(Blocks 2 open bugs)

Details

Attachments

(10 files, 1 obsolete file)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

The XDRScript and friends functions are deprecated in favour of the Stencil replacements. This code has been error prone to maintain consistent with the ever-changing frontend behaviour. Directly transcoding JSScript lead to a lot of uncertainty about what state should be preserved and what should be dropped.

Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Depends on: 1718711
Blocks: 1720331

Depends on D121276

Attachment #9233829 - Attachment is obsolete: true
Attachment #9233819 - Attachment description: WIP: Bug 1688791 - Part 1: Remove saveBytecode option from evaluate shell function. r?tcampbell! → Bug 1688791 - Part 1: Remove saveBytecode option from evaluate shell function. r?tcampbell!
Attachment #9233820 - Attachment description: WIP: Bug 1688791 - Part 2: Remove CompileOptions.useStencilXDR. r?tcampbell! → Bug 1688791 - Part 2: Remove CompileOptions.useStencilXDR. r?tcampbell!
Attachment #9233821 - Attachment description: WIP: Bug 1688791 - Part 3: Remove stale comment about js::UseOffThreadParseGlobal. r?tcampbell! → Bug 1688791 - Part 3: Remove stale comment about js::UseOffThreadParseGlobal. r?tcampbell!
Attachment #9233822 - Attachment description: WIP: Bug 1688791 - Part 4: Remove JS::DecodeScript. r?tcampbell! → Bug 1688791 - Part 4: Remove JS::DecodeScript. r?tcampbell!
Attachment #9233823 - Attachment description: WIP: Bug 1688791 - Part 5: Remove JS::EncodeScript. r?tcampbell! → Bug 1688791 - Part 5: Remove JS::EncodeScript. r?tcampbell!
Attachment #9233824 - Attachment description: WIP: Bug 1688791 - Part 6: Remove XDRDecoder and XDROffThreadDecoder. r?tcampbell! → Bug 1688791 - Part 6: Remove XDRDecoder and XDROffThreadDecoder. r?tcampbell!
Attachment #9233825 - Attachment description: WIP: Bug 1688791 - Part 7: Remove XDR functions for GC objects. r?tcampbell! → Bug 1688791 - Part 7: Remove XDR functions for GC objects. r?tcampbell!
Attachment #9233826 - Attachment description: WIP: Bug 1688791 - Part 8: Remove virtual from XDRState and cast to XDRStencilDecoder when getting options. r?tcampbell! → Bug 1688791 - Part 8: Remove virtual from XDRState and cast to XDRStencilDecoder when getting options. r?tcampbell!
Attachment #9233827 - Attachment description: WIP: Bug 1688791 - Part 9: Remove stencil/script char from GetScriptTranscodingBuildId. r?tcampbell! → Bug 1688791 - Part 9: Remove stencil/script char from GetScriptTranscodingBuildId. r?tcampbell!
Attachment #9233828 - Attachment description: WIP: Bug 1688791 - Part 10: Remove XDRDecoderBase and XDREncoder aliases. r?tcampbell! → Bug 1688791 - Part 10: Remove XDRDecoderBase and XDREncoder aliases. r?tcampbell!
Blocks: 1729643
Depends on: 1718194
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/58a17b8746e0
Part 1: Remove saveBytecode option from evaluate shell function. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/1f07cd55ccf8
Part 2: Remove CompileOptions.useStencilXDR. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/f46fbc282395
Part 3: Remove stale comment about js::UseOffThreadParseGlobal. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/4fb6aae7c679
Part 4: Remove JS::DecodeScript. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/b4f9110bd0a1
Part 5: Remove JS::EncodeScript. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/314786485231
Part 6: Remove XDRDecoder and XDROffThreadDecoder. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/574fd2ea3645
Part 7: Remove XDR functions for GC objects. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/cb19cf09ef72
Part 8: Remove virtual from XDRState and cast to XDRStencilDecoder when getting options. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/4ce50a396556
Part 9: Remove stencil/script char from GetScriptTranscodingBuildId. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/63600dd6bc99
Part 10: Remove XDRDecoderBase and XDREncoder aliases. r=tcampbell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: