opcodeOver duplicates the item before the top item on the data stack. Stack transformation: [... x1 x2 x3] -> [... x1 x2 x3 x2]
(op *opcode, data []byte, vm *Engine)
| 1321 | // |
| 1322 | // Stack transformation: [... x1 x2 x3] -> [... x1 x2 x3 x2] |
| 1323 | func opcodeOver(op *opcode, data []byte, vm *Engine) error { |
| 1324 | return vm.dstack.OverN(1) |
| 1325 | } |
| 1326 | |
| 1327 | // opcodePick treats the top item on the data stack as an integer and duplicates |
| 1328 | // the item on the stack that number of items back to the top. |
nothing calls this directly
no test coverage detected
searching dependent graphs…