diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-11-15 19:19:38 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-11-15 19:19:38 +0000 |
commit | 9db7b8b1efc2b61b7e533d8c0c74615c698b2949 (patch) | |
tree | e820ab0e2847dec9d6ed81e04e43396662516015 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 13e64a741167efc436f49e5712571c6273fa2965 (diff) | |
download | bcm5719-llvm-9db7b8b1efc2b61b7e533d8c0c74615c698b2949.tar.gz bcm5719-llvm-9db7b8b1efc2b61b7e533d8c0c74615c698b2949.zip |
Some cleanup of block API code.
llvm-svn: 119174
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 02da0a533b8..cb0b09da5c6 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -687,7 +687,7 @@ void CodeGenFunction::EmitAutoVarDecl(const VarDecl &D, Builder.CreateStore(V, size_field); if (flags & BLOCK_HAS_COPY_DISPOSE) { - BlockHasCopyDispose = true; + SynthesizeCopyDisposeHelpers = true; llvm::Value *copy_helper = Builder.CreateStructGEP(DeclPtr, 4); Builder.CreateStore(BuildbyrefCopyHelper(DeclPtr->getType(), flag, Align.getQuantity()), |