Use SharedShape and DictionaryShape more
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(14 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
As a first step for bug 1804253, we can move more methods from Shape into the SharedShape and DictionaryShape subclasses.
This will also start using SharedShape more in the engine, which is nice because it makes it clearer that these shapes are never dictionary shapes.
| Assignee | ||
Comment 1•3 years ago
|
||
This fixes a small regression from the cx->newCell refactoring.
Also change the return types for the new_ methods to be more precise.
| Assignee | ||
Comment 2•3 years ago
|
||
Change some return types and hash tables to use SharedShape* instead of Shape*.
Depends on D164051
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D164052
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D164053
| Assignee | ||
Comment 5•3 years ago
|
||
This introduces some asShared() calls that will be changed in later patches
by passing SharedShape around more.
Depends on D164054
| Assignee | ||
Comment 6•3 years ago
|
||
Depends on D164055
| Assignee | ||
Comment 7•3 years ago
|
||
Depends on D164056
| Assignee | ||
Comment 8•3 years ago
|
||
Depends on D164057
| Assignee | ||
Comment 9•3 years ago
|
||
Depends on D164058
| Assignee | ||
Comment 10•3 years ago
|
||
Depends on D164059
| Assignee | ||
Comment 11•3 years ago
|
||
Depends on D164060
| Assignee | ||
Comment 12•3 years ago
|
||
Depends on D164061
| Assignee | ||
Comment 13•3 years ago
|
||
Depends on D164062
| Assignee | ||
Comment 14•3 years ago
|
||
This is just a specialization of ShapePropertyIter that can be optimized better
by the compiler because we don't need to check for dictionary holes in the property
map.
Depends on D164063
Updated•3 years ago
|
Comment 15•3 years ago
|
||
Comment 16•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1bfed98940bc
https://hg.mozilla.org/mozilla-central/rev/bf3139410812
https://hg.mozilla.org/mozilla-central/rev/0b5b1b9b7347
https://hg.mozilla.org/mozilla-central/rev/1c62fa16c3c5
https://hg.mozilla.org/mozilla-central/rev/4d7e164ace7c
https://hg.mozilla.org/mozilla-central/rev/fc73e81a1500
https://hg.mozilla.org/mozilla-central/rev/b06f1ad1dab5
https://hg.mozilla.org/mozilla-central/rev/427fc6ae28a3
https://hg.mozilla.org/mozilla-central/rev/0677d828899c
https://hg.mozilla.org/mozilla-central/rev/9f6bb6be2624
https://hg.mozilla.org/mozilla-central/rev/2fc531eaa0f6
https://hg.mozilla.org/mozilla-central/rev/aaac22184f87
https://hg.mozilla.org/mozilla-central/rev/fffb9b66b015
https://hg.mozilla.org/mozilla-central/rev/07b8e2565736
Description
•