aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCXX.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-11-26 02:49:32 +0000
committerAnders Carlsson <andersca@mac.com>2009-11-26 02:49:32 +0000
commitb73a5be8a85f1823c6e63f85dafaca413d6de40c (patch)
treeca570a94c2124d7ea922fcb12eb80f77d30d88a2 /lib/CodeGen/CGCXX.cpp
parent38cc6bca5c172e2888c86fb0bef6883db0692cf6 (diff)
Move the mangler into the CodeGen namespace. Change mangleThunk to take a ThunkAdjustment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r--lib/CodeGen/CGCXX.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 9674146825..7dc4b1e961 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -968,8 +968,7 @@ CodeGenModule::BuildThunk(const CXXMethodDecl *MD, bool Extern,
const ThunkAdjustment &ThisAdjustment) {
llvm::SmallString<256> OutName;
- getMangleContext().mangleThunk(MD, ThisAdjustment.NonVirtual,
- ThisAdjustment.Virtual, OutName);
+ getMangleContext().mangleThunk(MD, ThisAdjustment, OutName);
llvm::GlobalVariable::LinkageTypes linktype;
linktype = llvm::GlobalValue::WeakAnyLinkage;