1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix the NDEBUG build

llvm-svn: 271411
This commit is contained in:
Reid Kleckner 2016-06-01 17:31:24 +00:00
parent 8b4597ae2b
commit 62f0351a33

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