parent
5454e0633e
commit
d2408f78a5
|
@ -1205,8 +1205,7 @@ void VtableBuilder::LayoutVtable() {
|
|||
|
||||
void VtableBuilder::LayoutPrimaryAndAndSecondaryVtables(BaseSubobject Base,
|
||||
bool BaseIsVirtual) {
|
||||
const CXXRecordDecl *RD ATTRIBUTE_UNUSED = Base.getBase();
|
||||
assert(RD->isDynamicClass() && "class does not have a vtable!");
|
||||
assert(Base.getBase()->isDynamicClass() && "class does not have a vtable!");
|
||||
|
||||
// Add vcall and vbase offsets for this vtable.
|
||||
VisitedVirtualBasesSetTy VBases;
|
||||
|
|
Loading…
Reference in New Issue