Remove unnecessary conditional operators performing bool->bool conversion.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 17:33:35 +0000 (17:33 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 17:33:35 +0000 (17:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191020 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 7409216c552290504a143cebc47c9b4a45a431e6..faf3dbea342ff7ed00d0b7f8a60b9e09637eac9c 100644 (file)
@@ -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.