opcodeSwap swaps the top two items on the stack. Stack transformation: [... x1 x2] -> [... x2 x1]
(op *opcode, data []byte, vm *Engine)
| 1365 | // |
| 1366 | // Stack transformation: [... x1 x2] -> [... x2 x1] |
| 1367 | func opcodeSwap(op *opcode, data []byte, vm *Engine) error { |
| 1368 | return vm.dstack.SwapN(1) |
| 1369 | } |
| 1370 | |
| 1371 | // opcodeTuck inserts a duplicate of the top item of the data stack before the |
| 1372 | // second-to-top item. |
nothing calls this directly
no test coverage detected
searching dependent graphs…