From f30862f33ba8cdf90aa032e478ade6f2ce1fc0c6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 25 Aug 2003 22:34:15 +0000 Subject: [PATCH] Remove special casing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8144 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/InlineFunction.cpp | 3 --- 1 file changed, 3 deletions(-) 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