Fix typo so we don't use the wrong function for ending ObjC++ catch blocks (GNU runtimes)

llvm-svn: 137052
This commit is contained in:
David Chisnall 2011-08-08 17:26:06 +00:00
parent 261f9ce371
commit 51ed0d112b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}