Example #1
0
func writeBlock(f *link8.Func, b *Block) {
	for _, inst := range b.insts {
		f.AddInst(inst.inst)
		if inst.sym != nil {
			s := inst.sym
			f.AddLink(s.fill, &link8.PkgSym{s.pkg, s.sym})
		}
	}
}