diff options
author | Anders Carlsson <andersca@mac.com> | 2008-09-11 09:15:33 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-09-11 09:15:33 +0000 |
commit | dde0a94120915fa925d1ffcdb997c7b44dc9fa21 (patch) | |
tree | 6d31f03f931031e2eb3a5d4cd163b02e2a35bdba /lib/CodeGen/CodeGenFunction.h | |
parent | 1452f5599d4de1d97a71ad61786126b91da9da69 (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/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index e2b0a2b5eb..2884f4cdf9 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -221,6 +221,9 @@ public: /// GetAddrOfStaticLocalVar - Return the address of a static local variable. llvm::Constant *GetAddrOfStaticLocalVar(const VarDecl *BVD); + /// GetAddrOfLocalVar - Return the address of a local variable. + llvm::Value *GetAddrOfLocalVar(const VarDecl *VD); + /// getAccessedFieldNo - Given an encoded value and a result number, return /// the input field number being accessed. static unsigned getAccessedFieldNo(unsigned Idx, const llvm::Constant *Elts); @@ -269,7 +272,6 @@ public: void EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S); void EmitObjCAtTryStmt(const ObjCAtTryStmt &S); - void EmitObjCAtCatchStmt(const ObjCAtCatchStmt &S); void EmitObjCAtThrowStmt(const ObjCAtThrowStmt &S); //===--------------------------------------------------------------------===// |