Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 458d7e4

Browse files
committed
Merge pull request #34 from dotdash/disassert
Disable the PassInfo cache assertions to make the cache effective in builds with assertions enabld
2 parents 32c27dd + 4891e63 commit 458d7e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/IR/LegacyPassManager.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,9 +733,6 @@ const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const {
733733
const PassInfo *&PI = AnalysisPassInfos[AID];
734734
if (!PI)
735735
PI = PassRegistry::getPassRegistry()->getPassInfo(AID);
736-
else
737-
assert(PI == PassRegistry::getPassRegistry()->getPassInfo(AID) &&
738-
"The pass info pointer changed for an analysis ID!");
739736

740737
return PI;
741738
}

0 commit comments

Comments
 (0)