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 | c778540f9a43d3e9c0a123c2bf202d6d656adbbe (patch) | |
tree | 8ced7136ca43b6728fc582db9da0ac7747a20831 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 0f5e6f88059bec94ec8cfd0ff00bf02face5fdef (diff) | |
download | bcm5719-llvm-c778540f9a43d3e9c0a123c2bf202d6d656adbbe.tar.gz bcm5719-llvm-c778540f9a43d3e9c0a123c2bf202d6d656adbbe.zip |
Add a ThunkAdjustment struct which holds a non-virtual and a virtual adjustment offset. Start using it. General cleanup in Mangle.cpp.
llvm-svn: 89925
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 28e000a4920..b811c25b8a8 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -441,7 +441,8 @@ public: /// GenerateThunk - Generate a thunk for the given method llvm::Constant *GenerateThunk(llvm::Function *Fn, const CXXMethodDecl *MD, - bool Extern, int64_t nv, int64_t v); + bool Extern, + const ThunkAdjustment &ThisAdjustment); llvm::Constant *GenerateCovariantThunk(llvm::Function *Fn, const CXXMethodDecl *MD, bool Extern, int64_t nv_t, int64_t v_t, |