(vm *VM)
| 13 | var ErrInt = errorf("invalid varint") |
| 14 | |
| 15 | func opDup(vm *VM) { |
| 16 | item, ok := vm.peek().(Data) |
| 17 | if !ok { |
| 18 | panic(errors.WithData(ErrType, "want", "Data")) |
| 19 | } |
| 20 | vm.chargeCopy(item) |
| 21 | vm.push(item) |
| 22 | } |
| 23 | |
| 24 | func opDrop(vm *VM) { |
| 25 | item := vm.pop() |
nothing calls this directly
no test coverage detected