about summary refs log tree commit diff
path: root/pkg/lang/vm/text/op.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/vm/text/op.go')
-rw-r--r--pkg/lang/vm/text/op.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/lang/vm/text/op.go b/pkg/lang/vm/text/op.go
index e6af940..0d01bdb 100644
--- a/pkg/lang/vm/text/op.go
+++ b/pkg/lang/vm/text/op.go
@@ -19,6 +19,7 @@ var (
 		code.OpDrop:         "drop",
 		code.OpGetGlobal:    "get_global",
 		code.OpGetLocal:     "get_local",
+		code.OpSetLocal:     "set_local",
 		code.OpGetMember:    "get_member",
 		code.OpSetMember:    "set_member",
 		code.OpGetEnv:       "get_env",
@@ -27,6 +28,7 @@ var (
 		code.OpAnchorType:   "anchor_type",
 		code.OpAdd:          "add",
 		code.OpSub:          "sub",
+		code.OpMod:          "mod",
 		code.OpIndex:        "index",
 		code.OpLte:          "lte",
 		code.OpCall:         "call",