Closed Bug 1663962 Opened 4 years ago Closed 4 years ago

Add JS::CompileAndStartIncrementalEncoding and JS::FinishOffThreadScriptAndStartIncrementalEncoding

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(2 files)

nsJSUtils used by ScriptLoader performs the following sequence:

  • JS::FinishOffThreadScript + JS::StartIncrementalEncoding
  • JS::Compile + JS::StartIncrementalEncoding

To switch between "encode JSScript" and "encode CompilationStencil", it's better adding APIs that performs such 2 steps at once, instead of returning CompilationStencil and let the caller switch between them

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/a1ed644e328b
Part 1: Add JS::FinishOffThreadScriptAndStartIncrementalEncoding. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/7d3bcc723c86
Part 2: Add JS::CompileAndStartIncrementalEncoding. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: