test asmtest with instruction list

This commit is contained in:
Michael McLoughlin
2018-11-24 14:20:04 -08:00
parent bec73ca7a1
commit 898d66c585
6 changed files with 37 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ func NewGoData(cfg Config) Interface {
return GoFmt(godata{cfg: cfg})
}
func (g godata) Generate(is []*inst.Instruction) ([]byte, error) {
func (g godata) Generate(is []inst.Instruction) ([]byte, error) {
p := &printer{}
p.Printf("// %s\n\n", g.cfg.GeneratedWarning())