From 846edb6fdc8c6ccef629031d89680e79d3695f74 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 1 Jun 2016 17:31:24 +0000 Subject: Fix the NDEBUG build llvm-svn: 271411 --- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib') diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index c06cf2c66a4..dec6770537e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -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; } -- cgit v1.2.3