Closed
Bug 1696860
Opened 3 years ago
Closed 3 years ago
Remove or clean up prototype splicing
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
JS_SplicePrototype
is only used to initialize the global object's prototype. With the changes in bug 1689413 I think we can now remove this because JS_SetPrototype
should be just as efficient.
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•3 years ago
|
||
After the ObjectGroup removal changes, prototype splicing and SetPrototype are
equivalent in that both (only) trigger a shape change for the new proto.
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/97565326ca40 Remove prototype splicing code for the global object. r=iain
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•