invalidated SWAP/DUP

This commit is contained in:
obscuren
2014-08-21 20:25:02 +02:00
parent 5196f9a340
commit d03ab3c976
2 changed files with 6 additions and 10 deletions

View File

@@ -640,10 +640,6 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
x, y := stack.Swapn(n)
self.Printf(" => [%d] %x [0] %x", n, x.Bytes(), y.Bytes())
case DUP:
// NOP
case SWAP:
// NOP
case MLOAD:
require(1)
offset := stack.Pop()