Closed Bug 1611197 Opened 6 years ago Closed 6 years ago

Remove dead code from XPCInlines.h

Categories

(Core :: XPConnect, task, P3)

task

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.

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.

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
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: