Codegen support for copy helpers for block literals.

llvm-svn: 66319
This commit is contained in:
Mike Stump
2009-03-07 02:35:30 +00:00
parent ff659b5b86
commit aeb0ffd56c
6 changed files with 128 additions and 52 deletions

View File

@@ -32,7 +32,6 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm)
// FIXME: We need to rearrange the code for copy/dispose so we have this
// sooner, so we can calculate offsets correctly.
BlockHasCopyDispose = false;
if (!BlockHasCopyDispose)
BlockOffset = CGM.getTargetData()
.getTypeStoreSizeInBits(CGM.getGenericBlockLiteralType()) / 8;