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.cpp | |
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.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 8b3dd84bb8..c9ee212d01 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -47,6 +47,11 @@ CodeGenFunction::GetAddrOfStaticLocalVar(const VarDecl *BVD) { return cast<llvm::Constant>(LocalDeclMap[BVD]); } +llvm::Value *CodeGenFunction::GetAddrOfLocalVar(const VarDecl *VD) +{ + return LocalDeclMap[VD]; +} + const llvm::Type *CodeGenFunction::ConvertType(QualType T) { return CGM.getTypes().ConvertType(T); } |