ensure all stdlib opcodes are present

This commit is contained in:
Michael McLoughlin
2018-11-25 16:22:02 -08:00
parent 6d3e3be578
commit 0694ebab9b
7 changed files with 170 additions and 7 deletions

View File

@@ -24,6 +24,9 @@ func (g godata) Generate(is []inst.Instruction) ([]byte, error) {
p.Printf("{\n")
p.Printf("Opcode: %#v,\n", i.Opcode)
if i.AliasOf != "" {
p.Printf("AliasOf: %#v,\n", i.AliasOf)
}
p.Printf("Summary: %#v,\n", i.Summary)
p.Printf("Forms: []Form{\n")