mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +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…
x
Reference in New Issue
Block a user