summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CGVTT.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-30 03:43:47 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-30 03:43:47 +0000
commitbfb7a1d6eba6714bd71db921092332da65b774c0 (patch)
tree24f5959442b15279230b022c4fad6e2dac0eb585 /lib/CodeGen/CGVTT.cpp
parent9dc338ac74e7855293a60812bd5780a52f141f52 (diff)
Remove the old vtable layout code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99869 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTT.cpp')
-rw-r--r--lib/CodeGen/CGVTT.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGVTT.cpp b/lib/CodeGen/CGVTT.cpp
index cdc8133c12..91d9f763bf 100644
--- a/lib/CodeGen/CGVTT.cpp
+++ b/lib/CodeGen/CGVTT.cpp
@@ -37,8 +37,6 @@ class VTTBuilder {
/// MostDerivedClassLayout - the AST record layout of the most derived class.
const ASTRecordLayout &MostDerivedClassLayout;
- CodeGenVTables::AddrMap_t &AddressPoints;
-
typedef llvm::SmallPtrSet<const CXXRecordDecl *, 4> VisitedVirtualBasesSetTy;
typedef llvm::DenseMap<BaseSubobject, uint64_t> AddressPointsMapTy;
@@ -137,7 +135,6 @@ VTTBuilder::VTTBuilder(CodeGenModule &CGM,
bool GenerateDefinition)
: CGM(CGM), MostDerivedClass(MostDerivedClass),
MostDerivedClassLayout(CGM.getContext().getASTRecordLayout(MostDerivedClass)),
- AddressPoints(*CGM.getVTables().OldAddressPoints[MostDerivedClass]),
GenerateDefinition(GenerateDefinition) {
// Lay out this VTT.