diff options
Diffstat (limited to 'llvm/lib/IR/SafepointIRVerifier.cpp')
-rw-r--r-- | llvm/lib/IR/SafepointIRVerifier.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/IR/SafepointIRVerifier.cpp b/llvm/lib/IR/SafepointIRVerifier.cpp index 7f3dea5e6a6..217f10e864d 100644 --- a/llvm/lib/IR/SafepointIRVerifier.cpp +++ b/llvm/lib/IR/SafepointIRVerifier.cpp @@ -197,17 +197,6 @@ protected: static void Verify(const Function &F, const DominatorTree &DT, const CFGDeadness &CD); -namespace llvm { -PreservedAnalyses SafepointIRVerifierPass::run(Function &F, - FunctionAnalysisManager &AM) { - const auto &DT = AM.getResult<DominatorTreeAnalysis>(F); - CFGDeadness CD; - CD.processFunction(F, DT); - Verify(F, DT, CD); - return PreservedAnalyses::all(); -} -} - namespace { struct SafepointIRVerifier : public FunctionPass { |