aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
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);