Fix the NDEBUG build

llvm-svn: 271411
This commit is contained in:
Reid Kleckner 2016-06-01 17:31:24 +00:00
parent 3a3c64d23e
commit 846edb6fdc
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}