Change assignment into expressions
This commit is contained in:
@@ -42,7 +42,8 @@ const (
|
||||
OpSetGlobal
|
||||
OpArray
|
||||
OpHash
|
||||
OpIndex
|
||||
OpGetItem
|
||||
OpSetItem
|
||||
OpCall
|
||||
OpReturn
|
||||
OpGetLocal
|
||||
@@ -83,7 +84,8 @@ var definitions = map[Opcode]*Definition{
|
||||
OpSetGlobal: {"OpSetGlobal", []int{2}},
|
||||
OpArray: {"OpArray", []int{2}},
|
||||
OpHash: {"OpHash", []int{2}},
|
||||
OpIndex: {"OpIndex", []int{}},
|
||||
OpGetItem: {"OpGetItem", []int{}},
|
||||
OpSetItem: {"OpSetItem", []int{}},
|
||||
OpCall: {"OpCall", []int{1}},
|
||||
OpReturn: {"OpReturn", []int{}},
|
||||
OpGetLocal: {"OpGetLocal", []int{1}},
|
||||
|
||||
Reference in New Issue
Block a user