aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-10-16 05:04:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-10-16 05:04:10 +0000
commitb10ce9f4fcff51bebc9efaeda2fa15b6478c6aec (patch)
treef4cd9eaf241fc48f63cdce43284cf889c8994d15 /lib
parenta3b3f45c18c32c62c0f340ea31c67ea6360aae68 (diff)
Revert r116656, "IRgen/Obj-C/NeXT: Fix the IR signature for
objc_exception_rethrow, so we don't...", since something is actually trying to call this with the wrong signature (!). Unfortunately I don't understand the new EH infrastructure well enough to fix it immediately. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/CGObjCMac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp
index 3440959408..8b3fd499b6 100644
--- a/lib/CodeGen/CGObjCMac.cpp
+++ b/lib/CodeGen/CGObjCMac.cpp
@@ -462,7 +462,7 @@ public:
// void objc_exception_rethrow(void)
std::vector<const llvm::Type*> Args;
llvm::FunctionType *FTy =
- llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), Args, false);
+ llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), Args, true);
return CGM.CreateRuntimeFunction(FTy, "objc_exception_rethrow");
}