[llvm] r196422 - Simplify check.
Eric Christopher
echristo at gmail.com
Wed Dec 4 14:29:03 PST 2013
Author: echristo
Date: Wed Dec 4 16:29:02 2013
New Revision: 196422
URL: http://llvm.org/viewvc/llvm-project?rev=196422&view=rev
Log:
Simplify check.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp?rev=196422&r1=196421&r2=196422&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp Wed Dec 4 16:29:02 2013
@@ -108,7 +108,7 @@ static const char *DecodeDWARFEncoding(u
/// encoding is specifying (e.g. "LSDA").
void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const {
if (isVerbose()) {
- if (Desc != 0)
+ if (Desc)
OutStreamer.AddComment(Twine(Desc) + " Encoding = " +
Twine(DecodeDWARFEncoding(Val)));
else
More information about the llvm-commits
mailing list