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

Method executeCall

src/codegen/executeCall.go:8–26  ·  view source on GitHub ↗
(step *Step, instr *ssa.Call)

Source from the content-addressed store, hash-verified

6)
7
8func (f *Function) executeCall(step *Step, instr *ssa.Call) {
9 f.moveValuesToRegisters(instr.Arguments, f.CPU.Call.In, step.Live)
10
11 f.Assembler.Append(&asm.Call{
12 Label: instr.Func.String(),
13 })
14
15 f.moveCallResult(step, f.CPU.Call.Out[0])
16}

Callers 1

executeMethod · 0.95

Calls 3

moveValuesToRegistersMethod · 0.95
StringMethod · 0.65
AppendMethod · 0.45

Tested by

no test coverage detected