commit | 846edb6fdc8c6ccef629031d89680e79d3695f74 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Wed Jun 01 17:31:24 2016 +0000 |
committer | Reid Kleckner <rnk@google.com> | Wed Jun 01 17:31:24 2016 +0000 |
tree | 5bf43b479056f8584bbf3d47bf6cd31b219271ef | |
parent | 3a3c64d23e3d7be3baa93882cc2a23098a032849 [diff] [blame] |
Fix the NDEBUG build llvm-svn: 271411
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index c06cf2c..dec6770 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -932,6 +932,7 @@ TypeIndex TI = lowerType(Ty); auto InsertResult = TypeIndices.insert({Ty, TI}); + (void)InsertResult; assert(InsertResult.second && "DIType lowered twice"); return TI; }