[cfe-commits] r104422 - in /cfe/trunk/lib/CodeGen: CGExprAgg.cpp CGObjC.cpp CGObjCGNU.cpp CGObjCMac.cpp CGObjCRuntime.h CodeGenFunction.h

Fariborz Jahanian fjahanian at apple.com
Sun May 23 10:38:26 PDT 2010


On May 22, 2010, at 3:18 PM, John McCall wrote:

> On May 22, 2010, at 9:13 AM, Fariborz Jahanian wrote:
>> Wouldn't removing call to EmitFinalDestCopy change things in this  
>> patch? This routine deals with GC API, as well as copying result to  
>> DestPtr.
>
> Ugh, you're right.  I believe I've restored the old behavior in a  
> way that doesn't interfere with return-value behavior in C++.
>
> I have no idea how to reconcile the GC API with C++;  we'll have to  
> talk about this.

Thanks. This was  my main concern.  This particular API was not being  
invoked for ObjC++ case, my concern was
changing behavior for ObjC.

- Fariborz

>
>
> John.




More information about the cfe-commits mailing list