Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.283 -> 1.284 --- Log message: Get the order of the hext digits right! --- Diffs of the changes: (+2 -2) AsmWriter.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u llvm/lib/VMCore/AsmWriter.cpp:1.283 llvm/lib/VMCore/AsmWriter.cpp:1.284 --- llvm/lib/VMCore/AsmWriter.cpp:1.283 Sat May 19 02:25:21 2007 +++ llvm/lib/VMCore/AsmWriter.cpp Sat May 19 09:44:42 2007 @@ -195,12 +195,12 @@ } else { needsQuotes = true; result += "\\"; - char hex1 = C & 0x0F; + char hex1 = (C >> 4) & 0x0F; if (hex1 < 10) result += hex1 + '0'; else result += hex1 - 10 + 'A'; - char hex2 = (C >> 4) & 0x0F; + char hex2 = C & 0x0F; if (hex2 < 10) result += hex2 + '0'; else _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits