diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-14 01:57:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-14 01:57:17 +0000 |
commit | b09a97e5653c2c391f8759ad6a966a15a0c4168a (patch) | |
tree | 068a448eee9a6d365bd5e7387ce8bfe984b22abc /lib/Target/PIC16 | |
parent | db8980903717e1127463f00a34cae9bd29f82a91 (diff) | |
download | external_llvm-b09a97e5653c2c391f8759ad6a966a15a0c4168a.zip external_llvm-b09a97e5653c2c391f8759ad6a966a15a0c4168a.tar.gz external_llvm-b09a97e5653c2c391f8759ad6a966a15a0c4168a.tar.bz2 |
fix a bug found by a warning I added to clang this morning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r-- | lib/Target/PIC16/PIC16DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.cpp b/lib/Target/PIC16/PIC16DebugInfo.cpp index 6a4d0d6..7a948de 100644 --- a/lib/Target/PIC16/PIC16DebugInfo.cpp +++ b/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); } |