aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 017fbe1cca..adf4196c1a 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