diff options
author | Anders Carlsson <andersca@mac.com> | 2010-03-26 04:39:42 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-03-26 04:39:42 +0000 |
commit | 0703690603bd197b581ceb2fb9a020aa88b9a106 (patch) | |
tree | cbbdfbe77ac4f0f8aefbbff59d0fcf99886cbc1c /lib/CodeGen/CodeGenFunction.h | |
parent | e1dcc2240114e81513bb30e3c89684824ddb1b1f (diff) |
Simplify InitializeVtablePtrs in preparation of making it work with construction vtables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index f5c25b275e..4ecb03dca0 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -511,11 +511,8 @@ public: void InitializeVtablePtrs(const CXXRecordDecl *ClassDecl); - void InitializeVtablePtrsRecursive(const CXXRecordDecl *ClassDecl, - llvm::Constant *Vtable, - const CodeGenVTables::AddrSubMap_t& AddressPoints, - llvm::Value *ThisPtr, - uint64_t Offset); + void InitializeVtablePtrs(BaseSubobject Base, llvm::Constant *VTable, + const CXXRecordDecl *VTableClass); void SynthesizeCXXCopyConstructor(const FunctionArgList &Args); void SynthesizeCXXCopyAssignment(const FunctionArgList &Args); |