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.
2 parents f75f5fe + 90c0bf6 commit 7345fd8Copy full SHA for 7345fd8
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