(step *Step, instr *ssa.Int)
| 6 | ) |
| 7 | |
| 8 | func (f *Function) executeInt(step *Step, instr *ssa.Int) { |
| 9 | destination := step.Register |
| 10 | |
| 11 | if destination == -1 { |
| 12 | return |
| 13 | } |
| 14 | |
| 15 | isSpilled := f.isSpilled(destination) |
| 16 | |
| 17 | if isSpilled { |
| 18 | f.storeSpillNumber(step, instr.Type(), instr.Int) |
| 19 | return |
| 20 | } |
| 21 | |
| 22 | f.Assembler.Append(&asm.MoveNumber{ |
| 23 | Destination: destination, |
| 24 | Number: instr.Int, |
| 25 | }) |
no test coverage detected