Tidy up IonBuilder JSOP_INITELEM_ARRAY/JSOP_INITELEM_INC code
Categories
(Core :: JavaScript Engine: JIT, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(5 files)
I need this for bug 1601599 and by sharing most code for these two ops we will also be able to optimize a bit more.
| Assignee | ||
Comment 1•6 years ago
|
||
This removes the confusing isNewArray() check in that function. It's also
incorrect with other changes because it doesn't account for loop phis for
example.
| Assignee | ||
Comment 2•6 years ago
|
||
Just move the MConstant-creation code into the callers to simplify later changes.
Depends on D56529
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D56531
| Assignee | ||
Comment 4•6 years ago
|
||
No change in behavior.
Depends on D56532
| Assignee | ||
Comment 5•6 years ago
|
||
We now have a shared code path to compile these ops.
JSOP_INITELEM_ARRAY gains IC support and JSOP_INITELEM_INC can potentially use the
fast path now.
Depends on D56533
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d444961b5e70
https://hg.mozilla.org/mozilla-central/rev/45276248e692
https://hg.mozilla.org/mozilla-central/rev/54f4fc55ea0d
https://hg.mozilla.org/mozilla-central/rev/374f85b25b59
https://hg.mozilla.org/mozilla-central/rev/bc40ad2f351b
Comment 8•6 years ago
|
||
== Change summary for alert #24474 (as of Fri, 13 Dec 2019 08:43:32 GMT) ==
Improvements:
52% glterrain windows10-64-shippable-qr opt e10s stylo 2.38 -> 1.14
39% glterrain windows10-64-shippable-qr opt e10s stylo 2.18 -> 1.33
8% tp5o_scroll windows10-64-shippable-qr opt e10s stylo 1.82 -> 1.67
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=24474
Description
•