Layout virtual bases. Work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78308 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 0f76266..eb8e87d 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -623,10 +623,8 @@
/// base classes and non-static data members belonging to this constructor.
void CodeGenFunction::EmitCtorPrologue(const CXXConstructorDecl *CD) {
const CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(CD->getDeclContext());
- assert(ClassDecl->getNumVBases() == 0
- && "FIXME: virtual base initialization unsupported");
+ // FIXME: Add vbase initialization
llvm::Value *LoadOfThis = 0;
-
for (CXXConstructorDecl::init_const_iterator B = CD->init_begin(),
E = CD->init_end();