opcode2Over duplicates the 2 items before the top 2 items on the data stack. Stack transformation: [... x1 x2 x3 x4] -> [... x1 x2 x3 x4 x1 x2]
(op *opcode, data []byte, vm *Engine)
| 1249 | // |
| 1250 | // Stack transformation: [... x1 x2 x3 x4] -> [... x1 x2 x3 x4 x1 x2] |
| 1251 | func opcode2Over(op *opcode, data []byte, vm *Engine) error { |
| 1252 | return vm.dstack.OverN(2) |
| 1253 | } |
| 1254 | |
| 1255 | // opcode2Rot rotates the top 6 items on the data stack to the left twice. |
| 1256 | // |
nothing calls this directly
no test coverage detected
searching dependent graphs…