diff options
author | Anders Carlsson <andersca@mac.com> | 2010-03-30 02:21:54 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-03-30 02:21:54 +0000 |
commit | 85e64359df64503dca8eb31fab2fa1b08d943913 (patch) | |
tree | 67de8111fdc659b4e5444d0f1d8ee17a203acd62 /clang/lib/CodeGen/CGVtable.cpp | |
parent | 9fcfc3a32edb3c978428bb4a59ac870889bc7b7e (diff) | |
download | bcm5719-llvm-85e64359df64503dca8eb31fab2fa1b08d943913.tar.gz bcm5719-llvm-85e64359df64503dca8eb31fab2fa1b08d943913.zip |
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.
llvm-svn: 99861
Diffstat (limited to 'clang/lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGVtable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index e79e91a4467..afbfeabeb8e 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/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) { |