Remove special casing
authorChris Lattner <sabre@nondot.org>
Mon, 25 Aug 2003 22:34:15 +0000 (22:34 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 25 Aug 2003 22:34:15 +0000 (22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8144 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/InlineFunction.cpp

index 017fbe1cca326b1b4b49a15ab2b606f82b7b85b7..adf4196c1ae1a73fc5d4b8e06b3ac8f158142814 100644 (file)
@@ -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