Simplify check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2013-12-04 22:29:02 +00:00
parent 690a455b0a
commit 6b2011a4a3

View File

@ -108,7 +108,7 @@ static const char *DecodeDWARFEncoding(unsigned Encoding) {
/// encoding is specifying (e.g. "LSDA"). /// encoding is specifying (e.g. "LSDA").
void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const { void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const {
if (isVerbose()) { if (isVerbose()) {
if (Desc != 0) if (Desc)
OutStreamer.AddComment(Twine(Desc) + " Encoding = " + OutStreamer.AddComment(Twine(Desc) + " Encoding = " +
Twine(DecodeDWARFEncoding(Val))); Twine(DecodeDWARFEncoding(Val)));
else else