From: Chris Lattner Date: Mon, 25 Aug 2003 22:34:15 +0000 (+0000) Subject: Remove special casing X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f30862f33ba8cdf90aa032e478ade6f2ce1fc0c6;p=oota-llvm.git Remove special casing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8144 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp index 017fbe1cca3..adf4196c1ae 100644 --- a/lib/Transforms/Utils/InlineFunction.cpp +++ b/lib/Transforms/Utils/InlineFunction.cpp @@ -211,9 +211,6 @@ bool InlineFunction(CallSite CS) { } break; // Done with this basic block! - } else if (ID == LLVMIntrinsic::exc_setcurrent || - ID == LLVMIntrinsic::exc_getcurrent) { - ShouldInvokify = false; // Not correct to invokify exc.throw! } // If we should convert this function into an invoke instruction, do