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

Douglas Gregor dgregor at apple.com
Sat May 22 16:52:49 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.

Let's chat Monday, because this looks like a serious problem... how do we reconcile this for non-POD class types with Objective-C objects as members?

	- Doug



More information about the cfe-commits mailing list