mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
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:
parent
15207f45db
commit
128a7a96f0
@ -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";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user