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