aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjCGNU.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2011-04-05 17:15:18 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2011-04-05 17:15:18 +0000
commit978d415adab4ef423f5aef430ddfdbefc4cfb000 (patch)
tree156bcce6499fecb82e877a2819986a8ed83290ba /lib/CodeGen/CGObjCGNU.cpp
parent30f64714da00794cfc4179c5d5046b0c7d4cd3c0 (diff)
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
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r--lib/CodeGen/CGObjCGNU.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}
};