mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 865317 - Allow a useful NodePool::Enumerator to be constructed for an empty CC graph. r=smaug
This commit is contained in:
parent
6654ca9f77
commit
cbcfef43dc
@ -574,7 +574,10 @@ public:
|
||||
return mNext++;
|
||||
}
|
||||
private:
|
||||
Block *mFirstBlock, *mCurBlock;
|
||||
// mFirstBlock is a reference to allow an Enumerator to be constructed
|
||||
// for an empty graph.
|
||||
Block *&mFirstBlock;
|
||||
Block *mCurBlock;
|
||||
// mNext is the next value we want to return, unless mNext == mBlockEnd
|
||||
// NB: mLast is a reference to allow enumerating while building!
|
||||
PtrInfo *mNext, *mBlockEnd, *&mLast;
|
||||
|
Loading…
Reference in New Issue
Block a user