mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 19:42:23 +00:00
33c512032f
Which matches the changes done in neo-storm and also make this codebase closer to the `dev` branch (that also uses Instruction).
118 lines
4.2 KiB
Go
118 lines
4.2 KiB
Go
// Code generated by "stringer -type=Instruction"; DO NOT EDIT.
|
|
|
|
package vm
|
|
|
|
import "strconv"
|
|
|
|
const _Instruction_name = "PUSH0PUSHBYTES1PUSHBYTES75PUSHDATA1PUSHDATA2PUSHDATA4PUSHM1PUSH1PUSH2PUSH3PUSH4PUSH5PUSH6PUSH7PUSH8PUSH9PUSH10PUSH11PUSH12PUSH13PUSH14PUSH15PUSH16NOPJMPJMPIFJMPIFNOTCALLRETAPPCALLSYSCALLTAILCALLDUPFROMALTSTACKTOALTSTACKFROMALTSTACKXDROPXSWAPXTUCKDEPTHDROPDUPNIPOVERPICKROLLROTSWAPTUCKCATSUBSTRLEFTRIGHTSIZEINVERTANDORXOREQUALINCDECSIGNNEGATEABSNOTNZADDSUBMULDIVMODSHLSHRBOOLANDBOOLORNUMEQUALNUMNOTEQUALLTGTLTEGTEMINMAXWITHINSHA1SHA256HASH160HASH256CHECKSIGCHECKMULTISIGARRAYSIZEPACKUNPACKPICKITEMSETITEMNEWARRAYNEWSTRUCTAPPENDREVERSEREMOVETHROWTHROWIFNOT"
|
|
|
|
var _Instruction_map = map[Instruction]string{
|
|
0: _Instruction_name[0:5],
|
|
1: _Instruction_name[5:15],
|
|
75: _Instruction_name[15:26],
|
|
76: _Instruction_name[26:35],
|
|
77: _Instruction_name[35:44],
|
|
78: _Instruction_name[44:53],
|
|
79: _Instruction_name[53:59],
|
|
81: _Instruction_name[59:64],
|
|
82: _Instruction_name[64:69],
|
|
83: _Instruction_name[69:74],
|
|
84: _Instruction_name[74:79],
|
|
85: _Instruction_name[79:84],
|
|
86: _Instruction_name[84:89],
|
|
87: _Instruction_name[89:94],
|
|
88: _Instruction_name[94:99],
|
|
89: _Instruction_name[99:104],
|
|
90: _Instruction_name[104:110],
|
|
91: _Instruction_name[110:116],
|
|
92: _Instruction_name[116:122],
|
|
93: _Instruction_name[122:128],
|
|
94: _Instruction_name[128:134],
|
|
95: _Instruction_name[134:140],
|
|
96: _Instruction_name[140:146],
|
|
97: _Instruction_name[146:149],
|
|
98: _Instruction_name[149:152],
|
|
99: _Instruction_name[152:157],
|
|
100: _Instruction_name[157:165],
|
|
101: _Instruction_name[165:169],
|
|
102: _Instruction_name[169:172],
|
|
103: _Instruction_name[172:179],
|
|
104: _Instruction_name[179:186],
|
|
105: _Instruction_name[186:194],
|
|
106: _Instruction_name[194:209],
|
|
107: _Instruction_name[209:219],
|
|
108: _Instruction_name[219:231],
|
|
109: _Instruction_name[231:236],
|
|
114: _Instruction_name[236:241],
|
|
115: _Instruction_name[241:246],
|
|
116: _Instruction_name[246:251],
|
|
117: _Instruction_name[251:255],
|
|
118: _Instruction_name[255:258],
|
|
119: _Instruction_name[258:261],
|
|
120: _Instruction_name[261:265],
|
|
121: _Instruction_name[265:269],
|
|
122: _Instruction_name[269:273],
|
|
123: _Instruction_name[273:276],
|
|
124: _Instruction_name[276:280],
|
|
125: _Instruction_name[280:284],
|
|
126: _Instruction_name[284:287],
|
|
127: _Instruction_name[287:293],
|
|
128: _Instruction_name[293:297],
|
|
129: _Instruction_name[297:302],
|
|
130: _Instruction_name[302:306],
|
|
131: _Instruction_name[306:312],
|
|
132: _Instruction_name[312:315],
|
|
133: _Instruction_name[315:317],
|
|
134: _Instruction_name[317:320],
|
|
135: _Instruction_name[320:325],
|
|
139: _Instruction_name[325:328],
|
|
140: _Instruction_name[328:331],
|
|
141: _Instruction_name[331:335],
|
|
143: _Instruction_name[335:341],
|
|
144: _Instruction_name[341:344],
|
|
145: _Instruction_name[344:347],
|
|
146: _Instruction_name[347:349],
|
|
147: _Instruction_name[349:352],
|
|
148: _Instruction_name[352:355],
|
|
149: _Instruction_name[355:358],
|
|
150: _Instruction_name[358:361],
|
|
151: _Instruction_name[361:364],
|
|
152: _Instruction_name[364:367],
|
|
153: _Instruction_name[367:370],
|
|
154: _Instruction_name[370:377],
|
|
155: _Instruction_name[377:383],
|
|
156: _Instruction_name[383:391],
|
|
158: _Instruction_name[391:402],
|
|
159: _Instruction_name[402:404],
|
|
160: _Instruction_name[404:406],
|
|
161: _Instruction_name[406:409],
|
|
162: _Instruction_name[409:412],
|
|
163: _Instruction_name[412:415],
|
|
164: _Instruction_name[415:418],
|
|
165: _Instruction_name[418:424],
|
|
167: _Instruction_name[424:428],
|
|
168: _Instruction_name[428:434],
|
|
169: _Instruction_name[434:441],
|
|
170: _Instruction_name[441:448],
|
|
172: _Instruction_name[448:456],
|
|
174: _Instruction_name[456:469],
|
|
192: _Instruction_name[469:478],
|
|
193: _Instruction_name[478:482],
|
|
194: _Instruction_name[482:488],
|
|
195: _Instruction_name[488:496],
|
|
196: _Instruction_name[496:503],
|
|
197: _Instruction_name[503:511],
|
|
198: _Instruction_name[511:520],
|
|
200: _Instruction_name[520:526],
|
|
201: _Instruction_name[526:533],
|
|
202: _Instruction_name[533:539],
|
|
240: _Instruction_name[539:544],
|
|
241: _Instruction_name[544:554],
|
|
}
|
|
|
|
func (i Instruction) String() string {
|
|
if str, ok := _Instruction_map[i]; ok {
|
|
return str
|
|
}
|
|
return "Instruction(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|