summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-11-17 03:18:05 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-11-17 03:18:05 +0000
commit8417e857818e972f318bd549caabc54bdf537c26 (patch)
treed80b10d6ea0fd7a72abc2ba1eb6444ce78f2bb01 /unittests
parentca1b7799aaeeeb0c6af80fa31fb8f74e79ab2967 (diff)
downloadllvm-8417e857818e972f318bd549caabc54bdf537c26.tar.gz
llvm-8417e857818e972f318bd549caabc54bdf537c26.tar.bz2
llvm-8417e857818e972f318bd549caabc54bdf537c26.tar.xz
[PM] Completely remove support for explicit 'require' methods on the
AnalysisManager. All this method did was assert something and we have a perfectly good way to trigger that assert from the query path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/IR/PassManagerTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/IR/PassManagerTest.cpp b/unittests/IR/PassManagerTest.cpp
index 8eec0eca7b..7b60e3899a 100644
--- a/unittests/IR/PassManagerTest.cpp
+++ b/unittests/IR/PassManagerTest.cpp
@@ -63,7 +63,6 @@ struct TestModulePass {
struct TestFunctionPass {
TestFunctionPass(AnalysisManager &AM, int &RunCount, int &AnalyzedInstrCount)
: AM(AM), RunCount(RunCount), AnalyzedInstrCount(AnalyzedInstrCount) {
- AM.requireAnalysisPass<TestAnalysisPass>();
}
bool run(Function *F) {