Allocate fallback stubs as ICScript array
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(10 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 |
After Jon's changes removing the NewObject and NewArray templates, we can get rid of the Rest IC template object and then allocate fallback stubs as a fixed-size array in ICScript instead of using the LifoAlloc.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
This matches MNewArray and is what we need for the Rest code.
Depends on D114603
Assignee | ||
Comment 3•4 years ago
|
||
This will be used by a later patch in the stack, but can likely be used in more
places in the future.
Depends on D114604
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D114605
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D114606
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D114607
Assignee | ||
Comment 7•4 years ago
|
||
The next patch wants to remove the derived classes (and kinds) for fallback stubs.
This assertion seems redundant with getStubReturnAddress so it should be fine
to remove it.
Depends on D114608
Assignee | ||
Comment 8•4 years ago
|
||
Each fallback stub is now allocated as just ICFallbackStub.
Also replaces the switch-statement in initICEntries with a faster table lookup
to map from JSOp to fallback kind (to get the trampoline code for the fallback stub).
Depends on D114609
Assignee | ||
Comment 9•4 years ago
|
||
This is more efficient than using the LifoAlloc and lets us make more code infallible.
Depends on D114610
Assignee | ||
Comment 10•4 years ago
|
||
FallbackICStubSpace is no longer a good name because it isn't used for fallback
stubs anymore.
Depends on D114611
Assignee | ||
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a4369f6d34be
https://hg.mozilla.org/mozilla-central/rev/94bc946d5498
https://hg.mozilla.org/mozilla-central/rev/731b32928128
https://hg.mozilla.org/mozilla-central/rev/d7ca3338e716
https://hg.mozilla.org/mozilla-central/rev/ab1fc35f9ba6
Description
•