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