mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Assorted minor improvements to the cleanup system.
This commit is contained in:
@@ -366,10 +366,14 @@ public:
|
||||
void pop(stable_iterator stable_iter) {
|
||||
iterator iter = find(stable_iter);
|
||||
checkIterator(iter);
|
||||
#ifndef NDEBUG
|
||||
while (Begin != iter.Ptr) {
|
||||
pop();
|
||||
checkIterator(iter);
|
||||
}
|
||||
#else
|
||||
Begin = iter.Ptr;
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user