summaryrefslogtreecommitdiffstats
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
commit9f28dbc53ac9829d2cc6ccc731717ab5b415cbc2 (patch)
tree0530639b2bc548b0b57c93be475b5c95a67c0856
parent5c5228a8f668d62c343e2c215f4232857f481468 (diff)
downloadbcm5719-llvm-9f28dbc53ac9829d2cc6ccc731717ab5b415cbc2.tar.gz
bcm5719-llvm-9f28dbc53ac9829d2cc6ccc731717ab5b415cbc2.zip
Fix tests.
llvm-svn: 98242
-rw-r--r--clang/lib/CodeGen/CGVtable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp
index b500f4d1130..88dd02012aa 100644
--- a/clang/lib/CodeGen/CGVtable.cpp
+++ b/clang/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)
OpenPOWER on IntegriCloud