opcode2Dup duplicates the top 2 items on the data stack. Stack transformation: [... x1 x2 x3] -> [... x1 x2 x3 x2 x3]
(op *opcode, data []byte, vm *Engine)
| 1235 | // |
| 1236 | // Stack transformation: [... x1 x2 x3] -> [... x1 x2 x3 x2 x3] |
| 1237 | func opcode2Dup(op *opcode, data []byte, vm *Engine) error { |
| 1238 | return vm.dstack.DupN(2) |
| 1239 | } |
| 1240 | |
| 1241 | // opcode3Dup duplicates the top 3 items on the data stack. |
| 1242 | // |
nothing calls this directly
no test coverage detected
searching dependent graphs…