[llvm-commits] CVS: llvm/lib/Target/X86/Printer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 21 16:49:00 PST 2002
Changes in directory llvm/lib/Target/X86:
Printer.cpp updated: 1.15 -> 1.16
---
Log message:
Fix off by one bug
---
Diffs of the changes:
Index: llvm/lib/Target/X86/Printer.cpp
diff -u llvm/lib/Target/X86/Printer.cpp:1.15 llvm/lib/Target/X86/Printer.cpp:1.16
--- llvm/lib/Target/X86/Printer.cpp:1.15 Thu Nov 21 15:04:50 2002
+++ llvm/lib/Target/X86/Printer.cpp Thu Nov 21 16:48:15 2002
@@ -483,7 +483,7 @@
if (MI->getNumOperands() == 3) {
unsigned Size = 4;
- emitConstant(O, MI->getOperand(1).getImmedValue(), Size);
+ emitConstant(O, MI->getOperand(2).getImmedValue(), Size);
}
O << "\n\t\t\t\t";
More information about the llvm-commits
mailing list