summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Instructions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/Instructions.cpp')
-rw-r--r--llvm/lib/IR/Instructions.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp
index 841cc5926a9..d58877ef773 100644
--- a/llvm/lib/IR/Instructions.cpp
+++ b/llvm/lib/IR/Instructions.cpp
@@ -256,13 +256,6 @@ void LandingPadInst::addClause(Value *Val) {
OperandList[OpNo] = Val;
}
-bool LandingPadInst::hasCatchAll() const {
- for (unsigned I = 0, E = getNumClauses(); I != E; ++I)
- if (isCatch(I) && isa<ConstantPointerNull>(getClause(I)))
- return true;
- return false;
-}
-
//===----------------------------------------------------------------------===//
// CallInst Implementation
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud