Combine ScriptStencil / ScriptStencilBase / BCEScriptStencil
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(3 files)
After Bug 1638470, we can combine ScriptStencil and ScriptStencilBase. The split was introduced to complete Bug 1618636, but with the virtual methods gone it isn't necessary.
| Assignee | ||
Comment 1•5 years ago
|
||
Also remove BCEScriptStencil
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
The BCE is no longer needed to instantiate a Stencil, so we can directly use
the ScriptStencil type. Add an intoStencil method to the BCE to do the
setup. This replaces the old BCEScriptStencil::init method.
| Assignee | ||
Comment 3•5 years ago
|
||
These were originally split due to ScriptStencil using virtual methods. Those
methods no longer exist so we can simplify this.
Depends on D76023
| Assignee | ||
Comment 4•5 years ago
|
||
Behaviour is the same, but we move it closer to the definition of
JSScript::fullyInitFromStencil which is still directly used by the
delazification case.
Depends on D76024
Comment 6•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1ab68e0e1e79
https://hg.mozilla.org/mozilla-central/rev/b6bd6cb99d28
https://hg.mozilla.org/mozilla-central/rev/60c81cfd3a60
Description
•