[llvm-commits] CVS: llvm/lib/Target/X86/Printer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:04:35 PDT 2003
Changes in directory llvm/lib/Target/X86:
Printer.cpp updated: 1.52 -> 1.53
---
Log message:
Remove illegal, unsupported escapes. This fixes program: Ptrdist-bc
---
Diffs of the changes:
Index: llvm/lib/Target/X86/Printer.cpp
diff -u llvm/lib/Target/X86/Printer.cpp:1.52 llvm/lib/Target/X86/Printer.cpp:1.53
--- llvm/lib/Target/X86/Printer.cpp:1.52 Sun Aug 3 18:37:09 2003
+++ llvm/lib/Target/X86/Printer.cpp Sun Aug 3 18:42:17 2003
@@ -296,13 +296,11 @@
Result += C;
} else {
switch(C) {
- case '\a': Result += "\\a"; break;
case '\b': Result += "\\b"; break;
case '\f': Result += "\\f"; break;
case '\n': Result += "\\n"; break;
case '\r': Result += "\\r"; break;
case '\t': Result += "\\t"; break;
- case '\v': Result += "\\v"; break;
default:
Result += '\\';
Result += toOctal(C >> 6);
More information about the llvm-commits
mailing list