summaryrefslogtreecommitdiff
path: root/vm/op_string.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2026-01-09 19:10:27 +0100
committerMarc Vertes <mvertes@free.fr>2026-01-09 19:10:27 +0100
commit7520aa4474ea30985cf26631c6bbdebf38484a0d (patch)
treee1e344c2fdc04affc0095eab26a39eef1fc3ba91 /vm/op_string.go
parent6ae0a2530c9a57fc093d2159591d9cae8140d641 (diff)
feat: initial support for maps
Diffstat (limited to 'vm/op_string.go')
-rw-r--r--vm/op_string.go39
1 files changed, 20 insertions, 19 deletions
diff --git a/vm/op_string.go b/vm/op_string.go
index a39dcfa..e5a00b6 100644
--- a/vm/op_string.go
+++ b/vm/op_string.go
@@ -31,28 +31,29 @@ func _() {
_ = x[Grow-20]
_ = x[Index-21]
_ = x[IndexSet-22]
- _ = x[Jump-23]
- _ = x[JumpTrue-24]
- _ = x[JumpFalse-25]
- _ = x[JumpSetTrue-26]
- _ = x[JumpSetFalse-27]
- _ = x[Lower-28]
- _ = x[Loweri-29]
- _ = x[Mul-30]
- _ = x[New-31]
- _ = x[Negate-32]
- _ = x[Not-33]
- _ = x[Pop-34]
- _ = x[Push-35]
- _ = x[Return-36]
- _ = x[Sub-37]
- _ = x[Subi-38]
- _ = x[Swap-39]
+ _ = x[MapSet-23]
+ _ = x[Jump-24]
+ _ = x[JumpTrue-25]
+ _ = x[JumpFalse-26]
+ _ = x[JumpSetTrue-27]
+ _ = x[JumpSetFalse-28]
+ _ = x[Lower-29]
+ _ = x[Loweri-30]
+ _ = x[Mul-31]
+ _ = x[New-32]
+ _ = x[Negate-33]
+ _ = x[Not-34]
+ _ = x[Pop-35]
+ _ = x[Push-36]
+ _ = x[Return-37]
+ _ = x[Sub-38]
+ _ = x[Subi-39]
+ _ = x[Swap-40]
}
-const _Op_name = "NopAddAddrAssignFassignVassignCallCalliCallXDerefDupFdupFnewEqualEqualSetExitFieldFieldSetFieldFsetGreaterGrowIndexIndexSetJumpJumpTrueJumpFalseJumpSetTrueJumpSetFalseLowerLoweriMulNewNegateNotPopPushReturnSubSubiSwap"
+const _Op_name = "NopAddAddrAssignFassignVassignCallCalliCallXDerefDupFdupFnewEqualEqualSetExitFieldFieldSetFieldFsetGreaterGrowIndexIndexSetMapSetJumpJumpTrueJumpFalseJumpSetTrueJumpSetFalseLowerLoweriMulNewNegateNotPopPushReturnSubSubiSwap"
-var _Op_index = [...]uint8{0, 3, 6, 10, 16, 23, 30, 34, 39, 44, 49, 52, 56, 60, 65, 73, 77, 82, 90, 99, 106, 110, 115, 123, 127, 135, 144, 155, 167, 172, 178, 181, 184, 190, 193, 196, 200, 206, 209, 213, 217}
+var _Op_index = [...]uint8{0, 3, 6, 10, 16, 23, 30, 34, 39, 44, 49, 52, 56, 60, 65, 73, 77, 82, 90, 99, 106, 110, 115, 123, 129, 133, 141, 150, 161, 173, 178, 184, 187, 190, 196, 199, 202, 206, 212, 215, 219, 223}
func (i Op) String() string {
idx := int(i) - 0