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

John McCall rjmccall at apple.com
Sat May 22 15:18:37 PDT 2010


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.

John.



More information about the cfe-commits mailing list