Fix off by one bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4816 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-21 22:48:15 +00:00
parent 15207f45db
commit 128a7a96f0
2 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
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";

View File

@ -483,7 +483,7 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
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";