aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-09-11 09:15:33 +0000
committerAnders Carlsson <andersca@mac.com>2008-09-11 09:15:33 +0000
commitdde0a94120915fa925d1ffcdb997c7b44dc9fa21 (patch)
tree6d31f03f931031e2eb3a5d4cd163b02e2a35bdba /lib/CodeGen/CGObjC.cpp
parent1452f5599d4de1d97a71ad61786126b91da9da69 (diff)
Make sure to store the exception in the catch parameter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r--lib/CodeGen/CGObjC.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index 73f948984a..a3da59410d 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -456,12 +456,4 @@ void CodeGenFunction::EmitObjCAtThrowStmt(const ObjCAtThrowStmt &S)
CGM.getObjCRuntime().EmitThrowStmt(*this, S);
}
-void CodeGenFunction::EmitObjCAtCatchStmt(const ObjCAtCatchStmt &S)
-{
- if (const Stmt *CatchParam = S.getCatchParamStmt())
- EmitStmt(CatchParam);
-
- EmitStmt(S.getCatchBody());
-}
-
CGObjCRuntime::~CGObjCRuntime() {}