We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c9d402 commit 90c0bf6Copy full SHA for 90c0bf6
include/swift/SILOptimizer/Utils/ScopeOptUtils.h
@@ -61,7 +61,6 @@ class AssertingScope {
61
/// on Optional has value.
62
void invalidateCleanup(unsigned cleanupIndex) {
63
assert(!didPop && "Should not invalidate once popped?!");
64
- assert(cleanupIndex < cleanups.size());
65
assert(cleanups[cleanupIndex].hasValue());
66
cleanups[cleanupIndex] = None;
67
}
0 commit comments