Closed Bug 865317 Opened 12 years ago Closed 12 years ago

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

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

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

Attachment

General

Created:
Updated:
Size: