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

Method executeReturn

src/codegen/executeReturn.go:7–17  ·  view source on GitHub ↗
(instr *ssa.Return)

Source from the content-addressed store, hash-verified

5)
6
7func (f *Function) executeReturn(step *Step, instr *ssa.Return) {
8 defer f.leave()
9
10 if len(instr.Arguments) == 0 {
11 return
12 }
13
14 f.moveValuesToRegisters(instr.Arguments, f.CPU.Call.Out, step.Live)
15}

Callers 1

executeMethod · 0.95

Calls 3

leaveMethod · 0.95
moveValuesToRegistersMethod · 0.95
reorderMovesFunction · 0.85

Tested by

no test coverage detected