support signatures and param load/stores

This commit is contained in:
Michael McLoughlin
2018-12-08 21:16:03 -08:00
parent 69ee0e39cb
commit 5431f2edef
9 changed files with 115 additions and 18 deletions

View File

@@ -68,6 +68,7 @@ func (p *GoPrinter) multicomment(lines []string) {
}
func (p *GoPrinter) function(f *Function) {
p.printf("// %s\n", f.Stub())
p.printf("TEXT %s%s(SB),0,$%d-%d\n", dot, f.Name, f.FrameBytes(), f.ArgumentBytes())
for _, node := range f.Nodes {