Factor ImmutableScriptData fields out of ScriptStencil
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: jorendorff, Assigned: jorendorff)
References
Details
(Whiteboard: [smooshmonkey-mvp])
Attachments
(7 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 |
ScriptStencil has a set of fields that are redundant with stuff in ImmutableScriptData. The idea is, instead, for ImmutableScriptData to be a member of the stencil family of types.
Ownership: the field can be a UniquePtr<ImmutableScriptData>.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
Doing this causes JSScript::fullyInitFromStencil to consume the stencil, because it has to take ownership of the UniquePtr. The alternative would be something like Rust's Arc<T>.
| Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D63655
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D63656
| Assignee | ||
Comment 5•6 years ago
|
||
It is apparently completely unnecessary.
Depends on D63657
| Assignee | ||
Comment 6•6 years ago
|
||
Depends on D63658
| Assignee | ||
Comment 7•6 years ago
|
||
I'm going to wait and land this after bug 1612515.
| Assignee | ||
Comment 8•6 years ago
|
||
Depends on D63659
| Assignee | ||
Comment 9•6 years ago
|
||
Depends on D66352
| Assignee | ||
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/de45fa761e5d
https://hg.mozilla.org/mozilla-central/rev/f3173b7c223c
https://hg.mozilla.org/mozilla-central/rev/9c1fc73b9163
https://hg.mozilla.org/mozilla-central/rev/c4dc09959bed
https://hg.mozilla.org/mozilla-central/rev/c00b5eef4b78
https://hg.mozilla.org/mozilla-central/rev/24af972b7541
https://hg.mozilla.org/mozilla-central/rev/67cc4f2b6248
Updated•6 years ago
|
Description
•