Simplify check.

llvm-svn: 196422
This commit is contained in:
Eric Christopher 2013-12-04 22:29:02 +00:00
parent 596077b363
commit cb7119e097
1 changed files with 1 additions and 1 deletions

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