core/vm: make all opcodes proper type

This commit is contained in:
Martin Holst Swende 2024-12-17 16:02:27 +01:00
parent bc1ec69008
commit 3cddc69273
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -164,7 +164,7 @@ const (
// 0x80 range - dups.
const (
DUP1 = 0x80 + iota
DUP1 OpCode = 0x80 + iota
DUP2
DUP3
DUP4
@ -184,7 +184,7 @@ const (
// 0x90 range - swaps.
const (
SWAP1 = 0x90 + iota
SWAP1 OpCode = 0x90 + iota
SWAP2
SWAP3
SWAP4