mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
core/vm: make all opcodes proper type
This commit is contained in:
parent
bc1ec69008
commit
3cddc69273
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ const (
|
||||||
|
|
||||||
// 0x80 range - dups.
|
// 0x80 range - dups.
|
||||||
const (
|
const (
|
||||||
DUP1 = 0x80 + iota
|
DUP1 OpCode = 0x80 + iota
|
||||||
DUP2
|
DUP2
|
||||||
DUP3
|
DUP3
|
||||||
DUP4
|
DUP4
|
||||||
|
|
@ -184,7 +184,7 @@ const (
|
||||||
|
|
||||||
// 0x90 range - swaps.
|
// 0x90 range - swaps.
|
||||||
const (
|
const (
|
||||||
SWAP1 = 0x90 + iota
|
SWAP1 OpCode = 0x90 + iota
|
||||||
SWAP2
|
SWAP2
|
||||||
SWAP3
|
SWAP3
|
||||||
SWAP4
|
SWAP4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue