From 7622cd3410846d28862ecfe862117894a259a7fa Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Thu, 26 Nov 2009 03:09:37 +0000 Subject: 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 --- lib/CodeGen/CodeGenModule.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') 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 CtorVtable_t; typedef llvm::DenseMap