module support
This commit is contained in:
@@ -61,7 +61,7 @@ const (
|
||||
OpClosure
|
||||
OpGetFree
|
||||
OpCurrentClosure
|
||||
OpNoop
|
||||
OpLoadModule
|
||||
)
|
||||
|
||||
type Definition struct {
|
||||
@@ -112,7 +112,7 @@ var definitions = map[Opcode]*Definition{
|
||||
OpClosure: {"OpClosure", []int{2, 1}},
|
||||
OpGetFree: {"OpGetFree", []int{1}},
|
||||
OpCurrentClosure: {"OpCurrentClosure", []int{}},
|
||||
OpNoop: {"OpNoop", []int{}},
|
||||
OpLoadModule: {"OpLoadModule", []int{}},
|
||||
}
|
||||
|
||||
func Lookup(op byte) (*Definition, error) {
|
||||
|
||||
Reference in New Issue
Block a user