diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-10-16 05:04:10 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-10-16 05:04:10 +0000 |
| commit | 622581b73bf9466eaa79deb336613e42eef7d68d (patch) | |
| tree | 210a6666fdb5001ddf56bb8eed7223c2222b8cd4 /clang/lib | |
| parent | 4d99878a37c90b1a33e2ed924db93fd98a4cfe1a (diff) | |
| download | bcm5719-llvm-622581b73bf9466eaa79deb336613e42eef7d68d.tar.gz bcm5719-llvm-622581b73bf9466eaa79deb336613e42eef7d68d.zip | |
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.
llvm-svn: 116660
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGObjCMac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index 3440959408e..8b3fd499b66 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/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"); } |

