[cfe-commits] r149279 - in /cfe/trunk: lib/CodeGen/CGObjCMac.cpp test/CodeGenObjC/arc.m

jahanian fjahanian at apple.com
Mon Jan 30 15:43:57 PST 2012


On Jan 30, 2012, at 2:08 PM, John McCall wrote:

> 
> 
>> @@ -5785,7 +5833,8 @@
>>                                     llvm::PointerType::getUnqual(fnType));
>> 
>>  RValue result = CGF.EmitCall(fnInfo, callee, returnSlot, args);
>> -  return nullReturn.complete(CGF, result, resultType);
>> +  CallArgList CallArgs;
>> +  return nullReturn.complete(CGF, result, resultType, CallArgs, 0);
> 
> I think you want 'args' here instead of a new, empty CallArgList, and you
> should probably add a test for a v-table dispatch that consumes an
> argument.  @selector(isEqual:) should work.
> 

In r149298.

- Fariborz

> John.




More information about the cfe-commits mailing list