MCPcopy Create free account
hub / github.com/akyoto/q / executeInt

Method executeInt

src/codegen/executeInt.go:8–22  ·  view source on GitHub ↗
(step *Step, instr *ssa.Int)

Source from the content-addressed store, hash-verified

6)
7
8func (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 })

Callers 1

executeMethod · 0.95

Calls 3

isSpilledMethod · 0.95
storeSpillNumberMethod · 0.95
AppendMethod · 0.45

Tested by

no test coverage detected