Simplify check.

llvm-svn: 196422
This commit is contained in:
Eric Christopher 2013-12-04 22:29:02 +00:00
parent b46f56f8d6
commit 1d7adf97f3

View File

@ -108,7 +108,7 @@ static const char *DecodeDWARFEncoding(unsigned Encoding) {
/// 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