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