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

Method executeField

src/codegen/executeField.go:8–19  ·  view source on GitHub ↗
(step *Step, instr *ssa.Field)

Source from the content-addressed store, hash-verified

6)
7
8func (f *Function) executeField(step *Step, instr *ssa.Field) {
9 source := f.CPU.Call.Out[instr.Index]
10 destination := step.Register
11 isSpilled := f.isSpilled(destination)
12
13 if destination == source {
14 return
15 }
16
17 if isSpilled {
18 f.storeSpill(step, source)
19 return
20 }
21
22 f.Assembler.Append(&asm.Move{

Callers 1

executeMethod · 0.95

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected