summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-12-04 22:29:02 +0000
committerEric Christopher <echristo@gmail.com>2013-12-04 22:29:02 +0000
commitcb7119e0977ef5b19a709b2b55b68cc79049d717 (patch)
tree476c31eba3a88407f3bfec6a3f3f3da4f5f87f9e /llvm/lib/CodeGen/AsmPrinter
parent596077b3630316e2b112a5750287747cd8187261 (diff)
downloadbcm5719-llvm-cb7119e0977ef5b19a709b2b55b68cc79049d717.tar.gz
bcm5719-llvm-cb7119e0977ef5b19a709b2b55b68cc79049d717.zip
Simplify check.
llvm-svn: 196422
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index b4433971807..2dfa98cc623 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
@@ -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
OpenPOWER on IntegriCloud