[cfe-commits] r65746 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp lib/CodeGen/CGExprConstant.cpp lib/CodeGen/CodeGenFunction.h test/CodeGen/blocks.c
Anders Carlsson
andersca at mac.com
Sun Mar 1 13:08:49 PST 2009
On Mar 1, 2009, at 12:32 PM, Mike Stump wrote:
> On Feb 28, 2009, at 5:09 PM, Anders Carlsson wrote:
>> + // Check if the block can be global.
>> + if (CanBlockBeGlobal(Info))
>> + return CGM.GetAddrOfGlobalBlock(BE, Name.c_str());
>
> This also breaks the setting of BLOCK_HAS_DESCRIPTOR, which was
> generated correctly before.
>
> My version sets BLOCK_HAS_DESCRIPTOR.
BLOCK_HAS_DESCRIPTOR is an interim flag, and it doesn't look like it's
used anywhere anymore. Still, I added it to the global block code path.
Anders
More information about the cfe-commits
mailing list