On Oct 4, 2012, at 6:09 AM, Timur Iskhodzhanov wrote:
> [and now to the new Charles's address]
> 
> On Thu, Oct 4, 2012 at 5:07 PM, Timur Iskhodzhanov <[email protected]> 
> wrote:
>> Actually, looking at the patch more closely now I don't get its idea at all.
>> 
>> Charles have added a EmitVTables virtual function to the CGCXXABI
>> interface which does sound like a reasonable move at first.
>> 
>> However, the ItaniumCXXABI implementation:
>>  void ItaniumCXXABI::EmitVTables(const CXXRecordDecl *Class) {
>>    CGM.getVTables().GenerateClassData(CGM.getVTableLinkage(Class), Class);
>>  }
>> calls non-abstract CGM member's method.
>> I'm pretty sure the MicrosoftCXXABI::EmitVTables implementation should
>> be the same (then why do we need virtual EmitVTables at all?)
>> and that the abstraction should be done at a different level -
>> VTableBuilder? VTableContext? [see a new thread in your inbox soon]
>> 
>> What was the idea?

IIRC, this was an intermediate step, with the expectation that we'd need to
move a lot of code around to support MS correctly.

John.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to