forked from cerc-io/plugeth
Merge branch 'release/0.6.4'
This commit is contained in:
commit
2d00027fd9
@ -60,8 +60,8 @@ const (
|
||||
|
||||
// 0x50 range - 'storage' and execution
|
||||
POP = 0x50
|
||||
DUP = 0x51
|
||||
SWAP = 0x52
|
||||
//DUP = 0x51
|
||||
//SWAP = 0x52
|
||||
MLOAD = 0x53
|
||||
MSTORE = 0x54
|
||||
MSTORE8 = 0x55
|
||||
@ -205,8 +205,8 @@ var opCodeToString = map[OpCode]string{
|
||||
|
||||
// 0x50 range - 'storage' and execution
|
||||
POP: "POP",
|
||||
DUP: "DUP",
|
||||
SWAP: "SWAP",
|
||||
//DUP: "DUP",
|
||||
//SWAP: "SWAP",
|
||||
MLOAD: "MLOAD",
|
||||
MSTORE: "MSTORE",
|
||||
MSTORE8: "MSTORE8",
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user