diff options
Diffstat (limited to 'lib/CodeGen/CGVtable.h')
-rw-r--r-- | lib/CodeGen/CGVtable.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/CodeGen/CGVtable.h b/lib/CodeGen/CGVtable.h index 28e2bcb084..d2acba0322 100644 --- a/lib/CodeGen/CGVtable.h +++ b/lib/CodeGen/CGVtable.h @@ -225,7 +225,8 @@ public: const CodeGenVTables::AddrSubMap_t& getAddressPoints(const CXXRecordDecl *RD); - llvm::DenseMap<const CXXRecordDecl *, AddrMap_t*> AddressPoints; + // FIXME: Remove this. + llvm::DenseMap<const CXXRecordDecl *, AddrMap_t*> OldAddressPoints; private: CodeGenModule &CGM; @@ -269,7 +270,10 @@ private: typedef llvm::DenseMap<std::pair<const CXXRecordDecl *, BaseSubobject>, uint64_t> AddressPointsMapTy; - + + /// Address points - Vtable address points. + AddressPointsMapTy AddressPoints; + uint64_t getNumVTableComponents(const CXXRecordDecl *RD) const { assert(VTableLayoutMap.count(RD) && "No vtable layout for this class!"); |