diff options
author | Mike Stump <mrs@apple.com> | 2009-09-11 23:25:56 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-09-11 23:25:56 +0000 |
commit | 6e319f6adc2a06c31cf99265854eef1321bcecf2 (patch) | |
tree | 2027f38d9a837bc0176049e8fe0410bb5db5d9cb /lib/CodeGen/CodeGenModule.h | |
parent | 4719f4e86a84dec6f5a45771ae51d4ec72e4617a (diff) |
Add basic covariant thunk generation support. WIP.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index c8ac249540..aa92269406 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -247,6 +247,10 @@ public: /// BuildThunk - Build a thunk for the given method llvm::Constant *BuildThunk(const CXXMethodDecl *MD, bool Extern, int64_t nv, int64_t v); + /// 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); /// GetStringForStringLiteral - Return the appropriate bytes for a string /// literal, properly padded to match the literal type. If only the address of |