Decouple Stencil instantiation from FunctionBox/SharedContext
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: tcampbell, Assigned: arai)
References
Details
Attachments
(17 files, 3 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
While the Parser/BCE generate ScriptStencil
s for the majority of their result data, we still use the FunctionBox
/SharedContext
while doing the instantiation of VM scripts. This bug is about tracking the missing info in the ScriptStencil so that it can outlive the frontend LifoAlloc
.
At least the following need to be fixed:
- SourceExtent
- FunctionFlags
- FunctionName
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D81147
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D81148
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D81149
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D81150
Assignee | ||
Comment 6•5 years ago
|
||
Also moved FunctionBox::createFunction to CreateFunction in order to
separate the logic from FunctionBox later.
Depends on D81151
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D81152
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D81153
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D81154
Assignee | ||
Comment 10•5 years ago
|
||
Later patch will replace remaining FunctionBox reference in stencil
instantiation.
Depends on D81155
Assignee | ||
Comment 11•5 years ago
|
||
Depends on D81157
Assignee | ||
Comment 12•5 years ago
|
||
Depends on D81158
Assignee | ||
Comment 13•5 years ago
|
||
Depends on D81159
Assignee | ||
Comment 14•5 years ago
|
||
Depends on D81157
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 15•5 years ago
|
||
To check if certain stencil is function or not, without relying on
ScriptStencil.functionIndex, ScriptStencil.immutableFlags should be modified
eagarly, instead of at the end of parsing/compilation.
Depends on D81160
Assignee | ||
Comment 16•5 years ago
|
||
Depends on D81393
Assignee | ||
Comment 17•5 years ago
|
||
there is remaining part in ScopeCreationData, that needs to be replaced by FunctionIndex and individual field data
https://searchfox.org/mozilla-central/rev/5a4aaccb28665807a6fd49cf48367d47fbb5a19a/js/src/frontend/Stencil.h#217
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 18•5 years ago
|
||
Depends on D81394
Assignee | ||
Comment 19•5 years ago
|
||
Depends on D82533
Assignee | ||
Comment 20•5 years ago
|
||
Depends on D82534
Assignee | ||
Comment 21•5 years ago
|
||
Depends on D82535
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 22•5 years ago
|
||
Comment 23•5 years ago
|
||
bugherder |
Comment 24•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 25•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0e0b6bea64b
https://hg.mozilla.org/mozilla-central/rev/5b59137f3bf2
https://hg.mozilla.org/mozilla-central/rev/d486d03edf00
https://hg.mozilla.org/mozilla-central/rev/89afdcc3e7e5
https://hg.mozilla.org/mozilla-central/rev/db845919143a
https://hg.mozilla.org/mozilla-central/rev/388fd0366c21
https://hg.mozilla.org/mozilla-central/rev/afd5c026cc19
https://hg.mozilla.org/mozilla-central/rev/70e75d937da5
https://hg.mozilla.org/mozilla-central/rev/fae2a26e920a
https://hg.mozilla.org/mozilla-central/rev/08f7ecebf503
https://hg.mozilla.org/mozilla-central/rev/5e939bbeea80
https://hg.mozilla.org/mozilla-central/rev/f7f6f94b7377
Description
•