[cfe-commits] r113962 - in /cfe/trunk: include/clang/AST/ lib/AST/ lib/CodeGen/ lib/Sema/ test/CodeGenCXX/ test/SemaCXX/

Fariborz Jahanian fjahanian at apple.com
Wed Sep 15 13:32:45 PDT 2010


On Sep 15, 2010, at 3:17 AM, John McCall wrote:

> Fixed log message:
>
> On Sep 15, 2010, at 3:14 AM, John McCall wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=113962&view=rev
>> Log:
>> Implement generalized copy elision.  The main obstacle here is that
>> IR-generation must be much more careful about making sure that  
>> exactly
>> one piece of code is responsible for the lifetime of every aggregate
>> slot.  The easiest way to do that was to bundle up the information
>> we care about for aggregate slots into a new structure which demands
>> that its creators at least consider the question.
>>
>> I could probably be convinced that the ObjC 'needs GC' bit should
>> be rolled into this structure.

Makes sense to me. However bits 1 and 0 are already used up. Are you
OK with adding a bool:1 flag for it? If yes, I will work on it.

- Fariborz

>>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list