aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-21 09:06:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-21 09:06:10 +0000
commit1b0771170921b9e752a50ea2cf87814bff92c834 (patch)
treea01fd6ceaac4b355942ebc66155230699e62ff09 /lib/CodeGen/CGVtable.cpp
parentc52365674b5b157a0486f75c12dd9f4cc41d8089 (diff)
Sink free mangle* methods into MangleContext.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r--lib/CodeGen/CGVtable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp
index 40448f8fd5..d99a426aee 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -793,9 +793,9 @@ llvm::Constant *CodeGenModule::GenerateVtable(const CXXRecordDecl *LayoutClass,
llvm::SmallString<256> OutName;
llvm::raw_svector_ostream Out(OutName);
if (LayoutClass != RD)
- mangleCXXCtorVtable(getMangleContext(), LayoutClass, Offset/8, RD, Out);
+ getMangleContext().mangleCXXCtorVtable(LayoutClass, Offset/8, RD, Out);
else
- mangleCXXVtable(getMangleContext(), RD, Out);
+ getMangleContext().mangleCXXVtable(RD, Out);
llvm::StringRef Name = Out.str();
std::vector<llvm::Constant *> methods;
@@ -1043,7 +1043,7 @@ llvm::Constant *CodeGenModule::GenerateVTT(const CXXRecordDecl *RD) {
llvm::SmallString<256> OutName;
llvm::raw_svector_ostream Out(OutName);
- mangleCXXVTT(getMangleContext(), RD, Out);
+ getMangleContext().mangleCXXVTT(RD, Out);
llvm::StringRef Name = Out.str();
llvm::GlobalVariable::LinkageTypes linktype;