Closed
Bug 1736409
Opened 4 years ago
Closed 4 years ago
Use MDefinitionIterator in ArgumentsReplacer::run
Categories
(Core :: JavaScript Engine: JIT, task)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
95 Branch
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(3 files)
ArgumentsReplacer::run() uses MNodeIterator, but ignores any resume points, so we can actually directly use MDefinitionIterator.
| Assignee | ||
Comment 1•4 years ago
|
||
ArgumentsReplacer::run() ignores any resume points, so we can directly use
MDefinitionIterator to iterate over all definitions.
| Assignee | ||
Comment 2•4 years ago
|
||
The other caller to visitObjectGuard() was removed when unboxed objects were
removed, so we can move the function back into visitGuardShape().
Depends on D128764
| Assignee | ||
Comment 3•4 years ago
|
||
Both initFromTemplateObject() methods are always returning true, so we might
as well change the return type to void.
Depends on D128765
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/56768df83e77
Part 1: Use MDefinitionIterator when iterating over definitions. r=iain
https://hg.mozilla.org/integration/autoland/rev/d5b2c877bbc7
Part 2: Inline visitObjectGuard() into visitGuardShape(). r=iain
https://hg.mozilla.org/integration/autoland/rev/1c4ef5f1be6f
Part 3: Return void instead of bool from initFromTemplateObject(). r=iain
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/56768df83e77
https://hg.mozilla.org/mozilla-central/rev/d5b2c877bbc7
https://hg.mozilla.org/mozilla-central/rev/1c4ef5f1be6f
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•