opcodeDrop removes the top item from the data stack. Stack transformation: [... x1 x2 x3] -> [... x1 x2]
(op *opcode, data []byte, vm *Engine)
| 1300 | // |
| 1301 | // Stack transformation: [... x1 x2 x3] -> [... x1 x2] |
| 1302 | func opcodeDrop(op *opcode, data []byte, vm *Engine) error { |
| 1303 | return vm.dstack.DropN(1) |
| 1304 | } |
| 1305 | |
| 1306 | // opcodeDup duplicates the top item on the data stack. |
| 1307 | // |
nothing calls this directly
no test coverage detected
searching dependent graphs…