summaryrefslogtreecommitdiffstats
path: root/clang/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
commitabe274a8b06650e486c0f3e197ea1d0fbcb651e6 (patch)
treefb52bf7f20c565db1cf43b4f7c31a2e6f35a2f5b /clang/lib/CodeGen/CGCXX.cpp
parentf89dcdaf19ce889e469bf1eddd8ae198ee1f19a9 (diff)
downloadbcm5719-llvm-abe274a8b06650e486c0f3e197ea1d0fbcb651e6.tar.gz
bcm5719-llvm-abe274a8b06650e486c0f3e197ea1d0fbcb651e6.zip
Move the mangler into the CodeGen namespace. Change mangleThunk to take a ThunkAdjustment.
llvm-svn: 89930
Diffstat (limited to 'clang/lib/CodeGen/CGCXX.cpp')
-rw-r--r--clang/lib/CodeGen/CGCXX.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCXX.cpp b/clang/lib/CodeGen/CGCXX.cpp
index 96741468259..7dc4b1e9619 100644
--- a/clang/lib/CodeGen/CGCXX.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud