diff options
author | Blaine Garst <blaine@apple.com> | 2010-03-05 01:29:59 +0000 |
---|---|---|
committer | Blaine Garst <blaine@apple.com> | 2010-03-05 01:29:59 +0000 |
commit | f27ab71d9f033eaef69bed7a77dfffab49b9453f (patch) | |
tree | b254b87440b3ace67f7f9b22bb95e8fed05bdd62 /clang/lib/CodeGen/CGBlocks.h | |
parent | 43d6ff7701f982951198ece7c784aa733589a67d (diff) | |
download | bcm5719-llvm-f27ab71d9f033eaef69bed7a77dfffab49b9453f.tar.gz bcm5719-llvm-f27ab71d9f033eaef69bed7a77dfffab49b9453f.zip |
add support for a 1<<29 bit in the block flags field to mark blocks using alternate struct return ABI
llvm-svn: 97775
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index 39f26f8b136..e91319f6dda 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -54,10 +54,12 @@ public: BLOCK_HAS_COPY_DISPOSE = (1 << 25), BLOCK_HAS_CXX_OBJ = (1 << 26), BLOCK_IS_GLOBAL = (1 << 28), - BLOCK_HAS_OBJC_TYPE = (1 << 30) + BLOCK_USE_STRET = (1 << 29), + BLOCK_HAS_SIGNATURE = (1 << 30) }; }; + class BlockModule : public BlockBase { ASTContext &Context; llvm::Module &TheModule; |