summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-25 22:34:15 +0000
committerChris Lattner <sabre@nondot.org>2003-08-25 22:34:15 +0000
commitbe8d6816d0f86d54635f8dbb92d036fefbd99061 (patch)
tree340aac96a2e17a0c64af2b977566cc033096e982 /llvm
parentdd1cd21741678cc74d9a8a8617d108425d96c271 (diff)
downloadbcm5719-llvm-be8d6816d0f86d54635f8dbb92d036fefbd99061.tar.gz
bcm5719-llvm-be8d6816d0f86d54635f8dbb92d036fefbd99061.zip
Remove special casing
llvm-svn: 8144
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index 017fbe1cca3..adf4196c1ae 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud