From 6ae0a2530c9a57fc093d2159591d9cae8140d641 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Thu, 8 Jan 2026 23:46:02 +0100 Subject: fix: improve composite literal for slices --- vm/op_string.go | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'vm/op_string.go') diff --git a/vm/op_string.go b/vm/op_string.go index 15cc938..a39dcfa 100644 --- a/vm/op_string.go +++ b/vm/op_string.go @@ -30,28 +30,29 @@ func _() { _ = x[Greater-19] _ = x[Grow-20] _ = x[Index-21] - _ = x[Jump-22] - _ = x[JumpTrue-23] - _ = x[JumpFalse-24] - _ = x[JumpSetTrue-25] - _ = x[JumpSetFalse-26] - _ = x[Lower-27] - _ = x[Loweri-28] - _ = x[Mul-29] - _ = x[New-30] - _ = x[Negate-31] - _ = x[Not-32] - _ = x[Pop-33] - _ = x[Push-34] - _ = x[Return-35] - _ = x[Sub-36] - _ = x[Subi-37] - _ = x[Swap-38] + _ = 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] } -const _Op_name = "NopAddAddrAssignFassignVassignCallCalliCallXDerefDupFdupFnewEqualEqualSetExitFieldFieldSetFieldFsetGreaterGrowIndexJumpJumpTrueJumpFalseJumpSetTrueJumpSetFalseLowerLoweriMulNewNegateNotPopPushReturnSubSubiSwap" +const _Op_name = "NopAddAddrAssignFassignVassignCallCalliCallXDerefDupFdupFnewEqualEqualSetExitFieldFieldSetFieldFsetGreaterGrowIndexIndexSetJumpJumpTrueJumpFalseJumpSetTrueJumpSetFalseLowerLoweriMulNewNegateNotPopPushReturnSubSubiSwap" -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, 119, 127, 136, 147, 159, 164, 170, 173, 176, 182, 185, 188, 192, 198, 201, 205, 209} +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} func (i Op) String() string { idx := int(i) - 0 -- cgit v1.2.3