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
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index acac86d..f850cfd 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -267,7 +267,8 @@
//===--------------------------------------------------------------------===//
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> *);