[llvm-commits] [patch] add gcroot attribute, test

Eric Christopher echristo at apple.com
Fri Sep 21 01:49:25 PDT 2007


>
> GCC carefully packs these bitfields so that there are exactly 32 of  
> them.  With this addition, you'll push over and require an extra  
> word for every tree.  Would it be possible to record the gcroot flag  
> in the attributes list somehow?  This tradeoff seems worthwhile,  
> because almost no structs will be marked as GCable.

Sure. Here's the new patch. I removed any dependence on RECORD_TYPE,  
but make sure we have a pointer at least to gcroot from.

-eric

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm-gcc.diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070921/b3a4be0c/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm.diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070921/b3a4be0c/attachment-0001.txt>


More information about the llvm-commits mailing list