summaryrefslogtreecommitdiff
path: root/lib/IR
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-03-22 18:46:32 +0000
committerBill Wendling <isanbard@gmail.com>2013-03-22 18:46:32 +0000
commit1ca6468c0518b2c2dcd69c68b2099ae93f57f8f9 (patch)
tree3f676198c56e915804518ed99d6161c9942232ec /lib/IR
parent97e602b574b38d57384f0f877700357531a3d23e (diff)
downloadllvm-1ca6468c0518b2c2dcd69c68b2099ae93f57f8f9.tar.gz
llvm-1ca6468c0518b2c2dcd69c68b2099ae93f57f8f9.tar.bz2
llvm-1ca6468c0518b2c2dcd69c68b2099ae93f57f8f9.tar.xz
Revert r177675. This is language-specific and shouldn't be in the API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/Instructions.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/IR/Instructions.cpp b/lib/IR/Instructions.cpp
index 841cc5926a..d58877ef77 100644
--- a/lib/IR/Instructions.cpp
+++ b/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
//===----------------------------------------------------------------------===//