diff options
author | John McCall <rjmccall@apple.com> | 2011-10-01 10:32:24 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-10-01 10:32:24 +0000 |
commit | 2b014d6c0c6b8ac94b416ac37dfc7931f20777a7 (patch) | |
tree | 55e9ed4baa751a871fee8bd1bb9ab62abd8d4be4 /lib/CodeGen/CodeGenFunction.h | |
parent | cdda47faab5c2c61c239491a1a091e071ed3e38e (diff) |
When performing an @throw in ARC, retain + autorelease
the pointer, being sure to do so before running cleanups
associated with that full-expression. rdar://10042689
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 19541a9767..0f120923d6 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -2141,6 +2141,8 @@ public: std::pair<LValue,llvm::Value*> EmitARCStoreStrong(const BinaryOperator *e, bool ignored); + llvm::Value *EmitObjCThrowOperand(const Expr *expr); + llvm::Value *EmitObjCProduceObject(QualType T, llvm::Value *Ptr); llvm::Value *EmitObjCConsumeObject(QualType T, llvm::Value *Ptr); llvm::Value *EmitObjCExtendObjectLifetime(QualType T, llvm::Value *Ptr); |