-
-
Save dotdash/f0a26c980b7200f7a790 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/IR/LegacyPassManager.cpp b/lib/IR/LegacyPassManager.cpp | |
index fa8d50e..6bf6060 100644 | |
--- a/lib/IR/LegacyPassManager.cpp | |
+++ b/lib/IR/LegacyPassManager.cpp | |
@@ -733,9 +733,6 @@ const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const { | |
const PassInfo *&PI = AnalysisPassInfos[AID]; | |
if (!PI) | |
PI = PassRegistry::getPassRegistry()->getPassInfo(AID); | |
- else | |
- assert(PI == PassRegistry::getPassRegistry()->getPassInfo(AID) && | |
- "The pass info pointer changed for an analysis ID!"); | |
return PI; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment