summaryrefslogtreecommitdiffstats
path: root/clang/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
commitf141dd1b95b29247563baeab482f6d8f4e9143b7 (patch)
treed09f992c6ba14eb62fbad13511e0364695ab9e6d /clang/lib/CodeGen/CGVTT.cpp
parenta086edc0e6ccb609f4ef136fdb9f4e63945cc5db (diff)
downloadbcm5719-llvm-f141dd1b95b29247563baeab482f6d8f4e9143b7.tar.gz
bcm5719-llvm-f141dd1b95b29247563baeab482f6d8f4e9143b7.zip
Remove the old vtable layout code.
llvm-svn: 99869
Diffstat (limited to 'clang/lib/CodeGen/CGVTT.cpp')
-rw-r--r--clang/lib/CodeGen/CGVTT.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGVTT.cpp b/clang/lib/CodeGen/CGVTT.cpp
index cdc8133c125..91d9f763bfe 100644
--- a/clang/lib/CodeGen/CGVTT.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud