diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2011-08-08 17:26:06 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2011-08-08 17:26:06 +0000 |
commit | 4bd5d09e3a233ed23ec6f913166e4b75d8de215c (patch) | |
tree | 0c7e18d744b72e67e617c62f1c7d02aea96e635b /lib/CodeGen/CGObjCGNU.cpp | |
parent | aec8f4538dfc4fbe9dca92db63688b84f8f0c2a1 (diff) |
Fix typo so we don't use the wrong function for ending ObjC++ catch blocks (GNU runtimes)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index ae8a8dd58f..98f5d18c75 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -621,7 +621,7 @@ class CGObjCGNUstep : public CGObjCGNU { // void *__cxa_begin_catch(void *e) EnterCatchFn.init(&CGM, "__cxa_begin_catch", PtrTy, PtrTy, NULL); // void __cxa_end_catch(void) - EnterCatchFn.init(&CGM, "__cxa_end_catch", VoidTy, NULL); + ExitCatchFn.init(&CGM, "__cxa_end_catch", VoidTy, NULL); // void _Unwind_Resume_or_Rethrow(void*) ExceptionReThrowFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, PtrTy, NULL); } |