aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-11 06:10:52 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-11 06:10:52 +0000
commit1ffd79bb8414904b9c78732e706fe9b5359e047c (patch)
tree862d2be0db21a98958a0c33d98d6ef73409d74dc /lib/CodeGen
parente02fc0ac5b24b08a32267966ca50c2f39ee52739 (diff)
Fix tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-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 b500f4d113..88dd02012a 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -3435,7 +3435,7 @@ CGVtableInfo::GenerateVtable(llvm::GlobalVariable::LinkageTypes Linkage,
}
VtableBuilder Builder(*this, RD, Offset,
- /*MostDerivedClassIsVirtual=*/false,
+ /*MostDerivedClassIsVirtual=*/IsVirtual,
LayoutClass);
if (CGM.getLangOptions().DumpVtableLayouts)