forked from OSchip/llvm-project
parent
bc6a434773
commit
ae9e9a63bd
|
@ -2544,6 +2544,9 @@ int64_t CodeGenVTables::getVirtualBaseOffsetOffset(const CXXRecordDecl *RD,
|
|||
|
||||
uint64_t
|
||||
CodeGenVTables::getAddressPoint(BaseSubobject Base, const CXXRecordDecl *RD) {
|
||||
assert(AddressPoints.count(std::make_pair(RD, Base)) &&
|
||||
"Did not find address point!");
|
||||
|
||||
uint64_t AddressPoint = AddressPoints.lookup(std::make_pair(RD, Base));
|
||||
assert(AddressPoint && "Address point must not be zero!");
|
||||
|
||||
|
|
Loading…
Reference in New Issue