]> granicus.if.org Git - clang/commitdiff
Fix copy-and-paste bug that I introduced while tidying up the code.
authorDavid Chisnall <csdavec@swan.ac.uk>
Tue, 5 Apr 2011 17:15:18 +0000 (17:15 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Tue, 5 Apr 2011 17:15:18 +0000 (17:15 +0000)
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

lib/CodeGen/CGObjCGNU.cpp

index 0a38f08e0e023470385512f57df8ae47b3408a37..44686ed5fef65713fbc320fc0e1f0d8e203d6673 100644 (file)
@@ -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);
       }
     }
 };