From 3b3e50503cfbd3a72cb1baef8c01b7f73d1a8cb7 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 22 Mar 2013 18:46:32 +0000 Subject: Revert r177675. This is language-specific and shouldn't be in the API. llvm-svn: 177748 --- llvm/lib/IR/Instructions.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'llvm/lib/IR') 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(getClause(I))) - return true; - return false; -} - //===----------------------------------------------------------------------===// // CallInst Implementation //===----------------------------------------------------------------------===// -- cgit v1.2.3