diff options
author | Mike Stump <mrs@apple.com> | 2009-08-12 17:42:21 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-12 17:42:21 +0000 |
commit | 4ffe91eae351d6ef68256ce77fc549557702d3e3 (patch) | |
tree | 134ca6e15b5f9b45f05cedeef325193fcac00ee4 /lib/CodeGen/CodeGenFunction.h | |
parent | 4c28b1cefe77dfd04ddf74599895b2f9796998c8 (diff) |
Refine vtable building for the secondary vtables to exclude yet more
cases where a virtual base was already used as a primary base class.
WIP.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index ebb35ba948..ece4f105dc 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -363,8 +363,9 @@ public: const CXXRecordDecl *Class, llvm::Constant *rtti, std::vector<llvm::Constant *> &methods, - bool isPrimary = false, - bool ForVirtualBase = false); + bool isPrimary, + bool ForVirtualBase, + llvm::SmallSet<const CXXRecordDecl *, 32> &IndirectPrimary); llvm::Value *GenerateVtable(const CXXRecordDecl *RD); void EmitCtorPrologue(const CXXConstructorDecl *CD); |