hash
This commit is contained in:
@@ -30,6 +30,7 @@ const (
|
||||
OpGetGlobal
|
||||
OpSetGlobal
|
||||
OpArray
|
||||
OpHash
|
||||
)
|
||||
|
||||
type Definition struct {
|
||||
@@ -57,6 +58,7 @@ var definitions = map[Opcode]*Definition{
|
||||
OpGetGlobal: {"OpGetGlobal", []int{2}},
|
||||
OpSetGlobal: {"OpSetGlobal", []int{2}},
|
||||
OpArray: {"OpArray", []int{2}},
|
||||
OpHash: {"OpHash", []int{2}},
|
||||
}
|
||||
|
||||
func Lookup(op byte) (*Definition, error) {
|
||||
|
||||
Reference in New Issue
Block a user