Closed Bug 1687174 Opened 3 years ago Closed 3 years ago

Cleanup CompilationStencil instantiation code

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

(Blocks 2 open bugs)

Details

Attachments

(5 files)

Various refactorings and cleanups to make the phases of instantiation clearer.

Blocks: 1686775

If we know the Stencil is for a full parse, we can avoid extra traversals
during instantiation. Use the CanLazilyParse method from BytecodeCompiler to
determine if this is definitely a full parse.

Depends on D102108

Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/871137ddb5ce
Clarify phases of CompilationStencil instantiation. r=arai
https://hg.mozilla.org/integration/autoland/rev/4f37b29d1b02
Refactor Stencil MaybeInstantiateModule. r=arai
https://hg.mozilla.org/integration/autoland/rev/57ae59952b86
Cleanup Stencil InstantiateTopLevel. r=arai
https://hg.mozilla.org/integration/autoland/rev/b557ddf495bb
Cleanup CompilationGCOutput::functions initialization. r=arai
https://hg.mozilla.org/integration/autoland/rev/bad2b6719d73
Avoid extra loops in Stencil instantiation for full parse. r=arai
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: