Minor improvements for dictionary shapes
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(3 files)
Some minor follow-up (perf) improvements for allocating dictionary shapes after bug 1804253.
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
This makes the code for dictionary shapes more similar to the other shapes and
simplifies the callers.
It's also more efficient because instead of cloning the shape and then mutating it,
the new shape now has the right contents from the start.
Assignee | ||
Comment 2•2 years ago
|
||
Adds a constructor that takes the object for which we want to create a new shape,
so that we can get rid of some roots.
Depends on D164571
Assignee | ||
Comment 3•2 years ago
|
||
Now that replaceShape
also works for dictionary shapes, we don't need the isShared
check anymore.
Depends on D164572
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6116446bee0d
https://hg.mozilla.org/mozilla-central/rev/84cd838aa64c
https://hg.mozilla.org/mozilla-central/rev/5f0c1d530596
Description
•