Closed
Bug 1787756
Opened 2 years ago
Closed 2 years ago
Remove JSObject::isBoundFunction()
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
106 Branch
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Remove JSObject::isBoundFunction()
because all callers are definitely JSFunction
and therefore can directly call JSFunction::isBoundFunction()
.
Assignee | ||
Comment 1•2 years ago
|
||
Drive-by changes:
- Use
needsPrototypeProperty()
infun_enumerate
, because it's more
efficient and more closely followsfun_resolve
. - Remove unused function
fromShapeFieldPointer()
.
Assignee | ||
Comment 2•2 years ago
|
||
CanReuseScriptForClone()
is now only used for an assertion.
Depends on D155838
Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/5d79e42afc06 Part 1: Remove JSObject::isBoundFunction(). r=jonco https://hg.mozilla.org/integration/autoland/rev/e736a7acaeb0 Part 2: CanReuseScriptForClone can be a static function. r=jonco
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5d79e42afc06
https://hg.mozilla.org/mozilla-central/rev/e736a7acaeb0
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•