From: David Chisnall Date: Tue, 5 Apr 2011 17:15:18 +0000 (+0000) Subject: Fix copy-and-paste bug that I introduced while tidying up the code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=978d415adab4ef423f5aef430ddfdbefc4cfb000;p=clang Fix copy-and-paste bug that I introduced while tidying up the code. Does anyone want to buy me a new brain? git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128890 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index 0a38f08e0e..44686ed5fe 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -614,7 +614,7 @@ class CGObjCGNUstep : public CGObjCGNU { // void __cxa_end_catch(void) EnterCatchFn.init(&CGM, "__cxa_end_catch", VoidTy, NULL); // void _Unwind_Resume_or_Rethrow(void*) - EnterCatchFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, PtrTy, NULL); + ExceptionReThrowFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, PtrTy, NULL); } } };