[llvm] r191020 - Remove unnecessary conditional operators performing bool->bool conversion.
David Blaikie
dblaikie at gmail.com
Thu Sep 19 10:33:35 PDT 2013
Author: dblaikie
Date: Thu Sep 19 12:33:35 2013
New Revision: 191020
URL: http://llvm.org/viewvc/llvm-project?rev=191020&view=rev
Log:
Remove unnecessary conditional operators performing bool->bool conversion.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=191020&r1=191019&r2=191020&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Thu Sep 19 12:33:35 2013
@@ -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.
More information about the llvm-commits
mailing list