Cleanup CompilationInfo::instantiateStencils and friends
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(3 files)
Miscellaneous cleanup for stencil instantiation to close the gap between lazy and non-lazy BaseScript
creation.
Assignee | ||
Comment 1•4 years ago
|
||
Compute the ImmutableFlags at the same time as the rest of the LazyScript
GC-things list and store into the ScriptStencil. This is more consistent with
how non-lazy BaseScripts are created.
Depends on D77189
Assignee | ||
Comment 2•4 years ago
|
||
Defer the lazy BaseScript instantiation to when the rest of the Stencils are
turned into BaseScripts. We also defer the enclosing-lazy-script link updates
until the same time when we call FunctionBox::finish.
Depends on D77192
Assignee | ||
Comment 3•4 years ago
|
||
Rename PublishDeferredFunctions to InstantiateFunctions and inline it's
helper method. Now that trace-list order does not matter we can remove the
asserts and comments around this. The tests pass even if we reverse the
traversal order.
Depends on D77193
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/41b9c39d8aa4
https://hg.mozilla.org/mozilla-central/rev/ddd2c41b1f5e
https://hg.mozilla.org/mozilla-central/rev/5f94c1b0d796
Description
•