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

Method executeSyscall

src/codegen/executeSyscall.go:8–28  ·  view source on GitHub ↗
(step *Step, instr *ssa.Syscall)

Source from the content-addressed store, hash-verified

6)
7
8func (f *Function) executeSyscall(step *Step, instr *ssa.Syscall) {
9 f.moveValuesToRegisters(instr.Arguments, f.CPU.Syscall.In, step.Live)
10 f.Assembler.Append(&asm.Syscall{})
11 f.moveCallResult(step, f.CPU.Syscall.Out[0])
12}

Callers 1

executeMethod · 0.95

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected