aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-30 02:21:54 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-30 02:21:54 +0000
commitc9b64bafaf3129568f013e0c2875e1fcb9f51e6b (patch)
tree9c8eed92fb3eb2c7ed9e608aeaa4a1c008116f34 /lib/CodeGen/CGVtable.cpp
parent1d8422b45626da8ae058c9e87aa1968c69925b49 (diff)
Flip the switch and use the new vtable layout code for everything. I've verified that this passes a self-host but I'll let the bots self host as well before removing the now dead code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99861 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 e79e91a446..afbfeabeb8 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -3617,7 +3617,7 @@ int64_t CodeGenVTables::getVirtualBaseOffsetOffset(const CXXRecordDecl *RD,
return I->second;
}
-static bool UseNewVTableCode = false;
+static bool UseNewVTableCode = true;
uint64_t
CodeGenVTables::getAddressPoint(BaseSubobject Base, const CXXRecordDecl *RD) {