Support AddSlot IC stubs for objects with an addProperty hook
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox96 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
For now it's hard to get rid of the add-property hook on DOM objects, but we can still optimize this better with ICs by using a VM function.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
SetProp/SetElem ICs don't have an output register, resulting in assertion failures
when using AutoCallVM in the next patch.
Depends on D132489
| Assignee | ||
Comment 3•3 years ago
|
||
If the object has an addProperty hook, we call a VM function where we add the
data property and invoke the hook. This still isn't super efficient, but it
eliminates a source of IC failures and helps identify this case in profiles.
Depends on D132490
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D132491
Comment 6•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9179e377a085
https://hg.mozilla.org/mozilla-central/rev/ea09314bae4b
https://hg.mozilla.org/mozilla-central/rev/7fe6d2297eb5
https://hg.mozilla.org/mozilla-central/rev/a9b155370ae7
Description
•