Closed
Bug 1611197
Opened 6 years ago
Closed 6 years ago
Remove dead code from XPCInlines.h
Categories
(Core :: XPConnect, task, P3)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
While I was poking around at some XPCOM info code in XPConnect, I noticed that there are some ancestor-related methods that aren't called. That inspired me to look at the code coverage report for XPCInlines.h, which found a few more methods that are never called, mostly on XPCCallContext.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
The fields these methods deal with are not dead: they are just
interacted with via other means.
I found these via the code coverage report for XPCInlines.h.
Assignee | ||
Comment 3•6 years ago
|
||
I found these via the code coverage report for XPCInlines.h.
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb11cc30f8c5
part 1 - Get rid of some unused XPCOM interface ancestor methods. r=nika
https://hg.mozilla.org/integration/autoland/rev/29d778101fae
part 2 - Remove some dead XPCCallContext methods. r=nika
https://hg.mozilla.org/integration/autoland/rev/ab2fc1f29e2c
part 3 - Remove some unused hasinterface methods. r=nika
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fb11cc30f8c5
https://hg.mozilla.org/mozilla-central/rev/29d778101fae
https://hg.mozilla.org/mozilla-central/rev/ab2fc1f29e2c
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in
before you can comment on or make changes to this bug.
Description
•