We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d109b76 commit 023e203Copy full SHA for 023e203
core/vm/opcodes.go
@@ -154,7 +154,11 @@ const (
154
PUSH30
155
PUSH31
156
PUSH32
157
- DUP1
+)
158
+
159
+// 0x80 range - dups.
160
+const (
161
+ DUP1 OpCode = 0x80 + iota
162
DUP2
163
DUP3
164
DUP4
@@ -170,7 +174,11 @@ const (
170
174
DUP14
171
175
DUP15
172
176
DUP16
173
- SWAP1
177
178
179
+// 0x90 range - swaps.
180
181
+ SWAP1 OpCode = 0x90 + iota
182
SWAP2
183
SWAP3
184
SWAP4
0 commit comments