[cfe-commits] r65746 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp lib/CodeGen/CGExprConstant.cpp lib/CodeGen/CodeGenFunction.h test/CodeGen/blocks.c

Mike Stump mrs at apple.com
Sun Mar 1 12:32:23 PST 2009


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.



More information about the cfe-commits mailing list