diff options
author | Anders Carlsson <andersca@mac.com> | 2009-11-26 03:09:37 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-11-26 03:09:37 +0000 |
commit | 7622cd3410846d28862ecfe862117894a259a7fa (patch) | |
tree | 15cb5de7a3ad12490678b65ce64c27e3e40e8dcb /lib/CodeGen/CodeGenModule.h | |
parent | e9d6554ba78fb81e810fdaec9b2c98ab96526e83 (diff) |
Add a CovariantThunkAdjustment struct that represents the adjustments needed for a covariant thunk.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index bc2d73edc1..5c3e633daa 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -238,9 +238,9 @@ public: const ThunkAdjustment &ThisAdjustment); /// BuildCoVariantThunk - Build a thunk for the given method - llvm::Constant *BuildCovariantThunk(const CXXMethodDecl *MD, bool Extern, - int64_t nv_t, int64_t v_t, - int64_t nv_r, int64_t v_r); + llvm::Constant * + BuildCovariantThunk(const CXXMethodDecl *MD, bool Extern, + const CovariantThunkAdjustment &Adjustment); typedef std::pair<const CXXRecordDecl *, uint64_t> CtorVtable_t; typedef llvm::DenseMap<const CXXRecordDecl *, |