From: David Blaikie Date: Thu, 19 Sep 2013 17:33:35 +0000 (+0000) Subject: Remove unnecessary conditional operators performing bool->bool conversion. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e56a4d9236336910cf46976c22dc767ebc8ced43;p=oota-llvm.git Remove unnecessary conditional operators performing bool->bool conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191020 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 7409216c552..faf3dbea342 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1160,8 +1160,8 @@ void DwarfDebug::endModule() { // Emit the pubnames and pubtypes sections if requested. if (HasDwarfPubSections) { - emitDebugPubNames(GenerateGnuPubSections ? true : false); - emitDebugPubTypes(GenerateGnuPubSections ? true : false); + emitDebugPubNames(GenerateGnuPubSections); + emitDebugPubTypes(GenerateGnuPubSections); } // Finally emit string information into a string table.