Remove more virtual methods from ScriptStencil
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(2 files, 1 obsolete file)
We want to remove more of the finish*
functions from ScriptStencil
.
Assignee | ||
Comment 1•5 years ago
|
||
Instead, have a batch process at end of bytecode emission just before reading
out the result script. We do this for functions that are inner to a script we
are generating bytecode code. These functions may still be lazy but they are
potentially exposed in JSOp::Lambda/LambdaArray ops.
Depends on D74568
Assignee | ||
Comment 2•5 years ago
|
||
BytecodeEmitter and Smoosh use the same implementation so de-virtualize and
inline the implementation.
Depends on D74569
Assignee | ||
Comment 3•5 years ago
|
||
This performs JSScript allocation by consuming the Stencil. For now we leave
handling of delazification compiles alone.
Depends on D74571
Comment 4•5 years ago
|
||
Comment on attachment 9147136 [details]
Bug 1636795 - Add ScriptStencil::intoScript. r?mgaudet
Revision D74572 was moved to bug 1636796. Setting attachment 9147136 [details] to obsolete.
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8b1379162d0c
https://hg.mozilla.org/mozilla-central/rev/6f6db889e7d7
Description
•