diff options
author | Mike Stump <mrs@apple.com> | 2009-04-10 18:52:28 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-04-10 18:52:28 +0000 |
commit | 67645930985e59e0735b7798f207f608e8eda688 (patch) | |
tree | 0d119351f318341ffc60e21564053424abdc23c0 /clang/lib/CodeGen/CGBlocks.h | |
parent | f074ca745460273a51230ff262acb5e3cd33c605 (diff) | |
download | bcm5719-llvm-67645930985e59e0735b7798f207f608e8eda688.tar.gz bcm5719-llvm-67645930985e59e0735b7798f207f608e8eda688.zip |
Fixup codegen for nested blocks that use copy/dispose in the inner
blocks, so that the outer blocks use it as well. Radar 6762279
llvm-svn: 68811
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index 3eca8912896..58276c294d8 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -183,14 +183,14 @@ public: ImplicitParamDecl *getBlockStructDecl() { return BlockStructDecl; } llvm::Constant *GenerateCopyHelperFunction(bool, const llvm::StructType *, - std::vector<HelperInfo> &); + std::vector<HelperInfo> *); llvm::Constant *GenerateDestroyHelperFunction(bool, const llvm::StructType *, - std::vector<HelperInfo> &); + std::vector<HelperInfo> *); llvm::Constant *BuildCopyHelper(const llvm::StructType *, - std::vector<HelperInfo> &); + std::vector<HelperInfo> *); llvm::Constant *BuildDestroyHelper(const llvm::StructType *, - std::vector<HelperInfo> &); + std::vector<HelperInfo> *); llvm::Constant *GeneratebyrefCopyHelperFunction(const llvm::Type *, int flag); llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T, int); |