Exemplo n.º 1
0
func checkAlloc(instr *ssa.Alloc) error {
	return errIfNonFirstClassType(instr.Type(), instr)
}
Exemplo n.º 2
0
func (v Target) genAlloc(a *allocator, instr *ssa.Alloc) {
	v.wop("subq $%d, #rsp", TypeStoreSizeInBits(instr.Type())/8)
	v.wop("movq #rsp, %s", a.valStr(instr))
}