Closed
Bug 1325559
Opened 7 years ago
Closed 5 years ago
Clean up SetClassAndProto and JSObject::splicePrototype
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1521127
People
(Reporter: jandem, Unassigned)
Details
(Keywords: triage-deferred)
Noticed this while reviewing a patch: SetClassAndProto has only one caller these days, in the same file, so we could make it a static function. The caller passes obj->getClass() as |clasp| argument, so we could remove it and rename the function. After that I think we can also remove the clasp argument from JSObject::splicePrototype.
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Comment 1•5 years ago
|
||
Fixed in bug 1521127 .
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•