aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCXX.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-08-06 13:41:24 +0000
committerMike Stump <mrs@apple.com>2009-08-06 13:41:24 +0000
commiteb19fa948173502f47c26357c2ec41aa4be197b4 (patch)
treecab9879a351fbddf66631e38aa1b7cef4d1cdfff /lib/CodeGen/CGCXX.cpp
parent1816e48427dd5aa1a2276238e28c0e22b9950586 (diff)
Layout virtual bases. Work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r--lib/CodeGen/CGCXX.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 0f76266acc..eb8e87d372 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -623,10 +623,8 @@ llvm::Value *CodeGenFunction::GenerateVtable(const CXXRecordDecl *RD) {
/// 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();