mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
Fix minor bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fa600dd35
commit
1c7907e896
@ -1240,10 +1240,10 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
|
||||
MachineCodeForInstruction::get(returnInstr).addTemp(returnReg);
|
||||
|
||||
M = new MachineInstr(JMPLRET);
|
||||
M->SetMachineOperandReg(0, MachineOperand::MO_VirtualRegister,
|
||||
returnReg);
|
||||
M->SetMachineOperandVal(0, MachineOperand::MO_VirtualRegister,
|
||||
returnReg);
|
||||
M->SetMachineOperandConst(1,MachineOperand::MO_SignExtendedImmed,
|
||||
(int64_t)8);
|
||||
(int64_t)8);
|
||||
M->SetMachineOperandReg(2, target.getRegInfo().getZeroRegNum());
|
||||
|
||||
if (returnInstr->getReturnValue() != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user