opcode2Rot rotates the top 6 items on the data stack to the left twice. Stack transformation: [... x1 x2 x3 x4 x5 x6] -> [... x3 x4 x5 x6 x1 x2]
(op *opcode, data []byte, vm *Engine)
| 1256 | // |
| 1257 | // Stack transformation: [... x1 x2 x3 x4 x5 x6] -> [... x3 x4 x5 x6 x1 x2] |
| 1258 | func opcode2Rot(op *opcode, data []byte, vm *Engine) error { |
| 1259 | return vm.dstack.RotN(2) |
| 1260 | } |
| 1261 | |
| 1262 | // opcode2Swap swaps the top 2 items on the data stack with the 2 that come |
| 1263 | // before them. |
nothing calls this directly
no test coverage detected
searching dependent graphs…