On Dec 2, 2009, at 10:59 PM, Eli Friedman wrote:
> Patch attached.  This seems blindingly obvious, but since it hasn't
> been done yet, I have a feeling I'm missing something.

What happens when CurFnInfo->getReturnInfo().getKind() ==  
ABIArgInfo::Indirect is false and hasAggregateLLVMType(CurFnInfo- 
 >getReturnType())) is true?  I'm thinking that might be a can't  
happen scenario, but if so, it should just assert CurFnInfo- 
 >getReturnInfo().getKind() == ABIArgInfo::Indirect, right?

Aside from this, I think this is safe...
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to