Revert r99612 and see if it fixes self-host.

llvm-svn: 99614
This commit is contained in:
Anders Carlsson 2010-03-26 06:35:42 +00:00
parent d829eab92b
commit aaf8acfea1
1 changed files with 0 additions and 7 deletions

View File

@ -1601,13 +1601,6 @@ void CodeGenFunction::InitializeVtablePtrs(BaseSubobject Base,
CXXRecordDecl *BaseDecl
= cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->getDecl());
// We don't need to initialize vtable pointers for primary bases, unless
// they're virtual.
if (!Layout.getPrimaryBaseWasVirtual() &&
Layout.getPrimaryBase() == BaseDecl)
continue;
uint64_t BaseOffset = Base.getBaseOffset() +
Layout.getBaseClassOffset(BaseDecl);