Closed Bug 865317 Opened 7 years ago Closed 7 years ago

Allow a useful NodePool::Enumerator to be constructed for an empty CC graph

Categories

(Core :: XPCOM, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

In incremental CC, we want to create a NodePool::Enumerator before we've added anything to the graph, to keep track of the nodes we've built already.  mBlocks starts out as NULL, though, so this doesn't work.  By making mFirstBlock a reference, then when a node does get added, it will be updated.
Attached patch & is your friendSplinter Review
Attachment #741382 - Flags: review?(bugs)
Attachment #741382 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/1296bb2e0445
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.