summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-14 01:57:17 +0000
committerChris Lattner <sabre@nondot.org>2010-07-14 01:57:17 +0000
commit164a0775bbe27d5835b0eb657cb8c8a81a75f990 (patch)
tree524654234c1492e1ccd8929293d1ee642ca3a265
parentd54241494588c3e60f5345984a8f22e6e76ff855 (diff)
downloadbcm5719-llvm-164a0775bbe27d5835b0eb657cb8c8a81a75f990.tar.gz
bcm5719-llvm-164a0775bbe27d5835b0eb657cb8c8a81a75f990.zip
fix a bug found by a warning I added to clang this morning.
llvm-svn: 108309
-rw-r--r--llvm/lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
index 6a4d0d62712..7a948def3cf 100644
--- a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
@@ -416,7 +416,7 @@ void PIC16DbgInfo::EmitAuxEntry(const std::string VarName, int Aux[], int Num,
if (!TagName.empty()) Tmp += ", " + TagName;
for (int i = 0; i<Num; i++)
- Tmp += "," + utostr(Aux[i] && 0xff);
+ Tmp += "," + utostr(Aux[i] & 0xff);
OS.EmitRawText("\n\t.dim " + Twine(VarName) + ", 1" + Tmp);
}
OpenPOWER on IntegriCloud