aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-25 17:58:24 +0000
committerMike Stump <mrs@apple.com>2009-03-25 17:58:24 +0000
commita803b0e6ca0d1c71a0b3f5d7380da8bbacf2f983 (patch)
treea44333874d55cc0281e8c1b105408ff59ed49b72 /lib/CodeGen/CodeGenFunction.h
parent65633f96c97af2553fad548180f199615d570c03 (diff)
Fixup codegen for block literals that bleed copy/dispose information
from previous block literals. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index acac86d8c2..f850cfdc5b 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -267,7 +267,8 @@ public:
//===--------------------------------------------------------------------===//
llvm::Value *BuildBlockLiteralTmp(const BlockExpr *);
- llvm::Constant *BuildDescriptorBlockDecl(uint64_t Size,
+ llvm::Constant *BuildDescriptorBlockDecl(bool BlockHasCopyDispose,
+ uint64_t Size,
const llvm::StructType *,
std::vector<HelperInfo> *);