Something went wrong. Try again.
馃尡 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
12345678910111213141516package core
import ( "git.urbach.dev/cli/q/src/ssa" "git.urbach.dev/cli/q/src/types")
// storeFields stores all struct fields into memory.func (f *Function) storeFields(memory *ssa.Memory, typ *types.Struct, fields []ssa.Value) { for i, field := range typ.Fields { f.Append(&ssa.Store{ Memory: f.structField(memory, field), Value: fields[i], }) }}