Fix the NDEBUG build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271411 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2016-06-01 17:31:24 +00:00
parent 01d6c3dbf9
commit 9832c4c44a

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