forked from OSchip/llvm-project
parent
3a3c64d23e
commit
846edb6fdc
|
@ -932,6 +932,7 @@ TypeIndex CodeViewDebug::getTypeIndex(DITypeRef TypeRef) {
|
|||
TypeIndex TI = lowerType(Ty);
|
||||
|
||||
auto InsertResult = TypeIndices.insert({Ty, TI});
|
||||
(void)InsertResult;
|
||||
assert(InsertResult.second && "DIType lowered twice");
|
||||
return TI;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue