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 4b91ff7 commit 3c3425dCopy full SHA for 3c3425d
lib/SIL/Verifier/SILOwnershipVerifier.cpp
@@ -964,7 +964,7 @@ void SILFunction::verifyOwnership(DeadEndBlocks *deadEndBlocks) const {
964
// that if we run into something that we do not understand, we do not assert
965
// in user code even tohugh we aren't going to actually verify (the default
966
// behavior when -sil-verify-all is disabled).
967
- auto *mod = getParent();
+ auto *mod = &getModule();
968
if (!mod || !mod->getOptions().VerifyAll)
969
return;
970
#endif
0 commit comments