Skip to content

Commit 525ecc7

Browse files
committed
Add map-type code
1 parent d0d743a commit 525ecc7

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

k3/t3xf/opcode/opcode_gen.go

+20-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

k3/t3xf/opcode/opcodes.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1555,6 +1555,17 @@ int2char:
15551555
Convert integer int into a single character string and push it
15561556
onto the stack.
15571557
1558+
mapfromto:
1559+
opcode: 252
1560+
context:
1561+
- type_new
1562+
operations:
1563+
pre: [from, to]
1564+
post: [obj]
1565+
description: |+
1566+
Build a map type object from the types from and to and push the
1567+
resulting object onto the stack.
1568+
15581569
int2enum:
15591570
opcode: 426
15601571
context:

0 commit comments

Comments
 (0)