aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-11-11 20:32:03 +0000
committerMike Stump <mrs@apple.com>2009-11-11 20:32:03 +0000
commit4f92032ebad80711ee99cfea6946a61b4b9d08be (patch)
tree1c457530dfdb98bd498a7f0995cd8d2ed5626db0 /lib/CodeGen/CGVtable.cpp
parent8cfcb52059d5ff8596cc7a92d856800b9f0da1dc (diff)
Fix ctor vtable name. WIP.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r--lib/CodeGen/CGVtable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp
index 233bdafd4f..64b30ab781 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -687,7 +687,7 @@ llvm::Constant *CodeGenModule::GenerateVtable(const CXXRecordDecl *RD,
llvm::SmallString<256> OutName;
llvm::raw_svector_ostream Out(OutName);
if (LayoutClass)
- mangleCXXCtorVtable(getMangleContext(), RD, Offset, LayoutClass, Out);
+ mangleCXXCtorVtable(getMangleContext(), LayoutClass, Offset, RD, Out);
else
mangleCXXVtable(getMangleContext(), RD, Out);