summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-06 18:42:23 +0000
committerMike Stump <mrs@apple.com>2009-03-06 18:42:23 +0000
commitd6ef62f0bf93dc7825158f464cbbd723e37ddd20 (patch)
tree7416db4a2ee6002c2f7966ab69e7fd51b7c35aef /clang/lib/CodeGen/CGBlocks.h
parent13e9eff3f2aa99c674e086ff990b3d7250ba1a76 (diff)
downloadbcm5719-llvm-d6ef62f0bf93dc7825158f464cbbd723e37ddd20.tar.gz
bcm5719-llvm-d6ef62f0bf93dc7825158f464cbbd723e37ddd20.zip
Pass the type of the block literal around to make required temporal ordering of code clearer.
llvm-svn: 66284
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index e915a512b78..5d6c0899237 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -158,11 +158,11 @@ public:
ImplicitParamDecl *BlockStructDecl;
ImplicitParamDecl *getBlockStructDecl() { return BlockStructDecl; }
- llvm::Constant *GenerateCopyHelperFunction();
- llvm::Constant *GenerateDestroyHelperFunction();
+ llvm::Constant *GenerateCopyHelperFunction(const llvm::Type *);
+ llvm::Constant *GenerateDestroyHelperFunction(const llvm::Type *);
- llvm::Constant *BuildCopyHelper();
- llvm::Constant *BuildDestroyHelper();
+ llvm::Constant *BuildCopyHelper(const llvm::Type *);
+ llvm::Constant *BuildDestroyHelper(const llvm::Type *);
llvm::Constant *GeneratebyrefCopyHelperFunction(const llvm::Type *, int flag);
llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T, int);
OpenPOWER on IntegriCloud