(step *Step, instr *ssa.Bool)
| 6 | "git.urbach.dev/cli/q/src/types" |
| 7 | ) |
| 8 | |
| 9 | func (f *Function) executeBool(step *Step, instr *ssa.Bool) { |
| 10 | destination := step.Register |
| 11 | |
| 12 | if destination == -1 { |
| 13 | return |
| 14 | } |
| 15 | |
| 16 | number := 0 |
| 17 | |
| 18 | if instr.Bool { |
| 19 | number = 1 |
| 20 | } |
| 21 | |
| 22 | isSpilled := f.isSpilled(destination) |
| 23 | |
| 24 | if isSpilled { |
| 25 | f.storeSpillNumber(step, types.Bool, number) |
| 26 | return |