diff options
author | Anders Carlsson <andersca@mac.com> | 2009-11-26 02:32:05 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-11-26 02:32:05 +0000 |
commit | a94822e8937eeb340a653b88024f805a07a2d2ee (patch) | |
tree | 34345defe4cddcf4679565313d48d8ba729a22ff /lib/CodeGen/Mangle.h | |
parent | b1a7b65231e86f7da6aacbf00bcdc16c56350e65 (diff) |
Add a ThunkAdjustment struct which holds a non-virtual and a virtual adjustment offset. Start using it. General cleanup in Mangle.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r-- | lib/CodeGen/Mangle.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h index edbbff5161..15951fe876 100644 --- a/lib/CodeGen/Mangle.h +++ b/lib/CodeGen/Mangle.h @@ -61,7 +61,8 @@ public: bool shouldMangleDeclName(const NamedDecl *D); void mangleName(const NamedDecl *D, llvm::SmallVectorImpl<char> &); - void mangleThunk(const FunctionDecl *FD, int64_t n, int64_t vn, + void mangleThunk(const FunctionDecl *FD, + int64_t NonVirtualOffset, int64_t VirtualOffset, llvm::SmallVectorImpl<char> &); void mangleCovariantThunk(const FunctionDecl *FD, int64_t nv_t, int64_t v_t, int64_t nv_r, int64_t v_r, |