mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
core/vm/runtime: avoid overflow on 32-bit
This commit is contained in:
parent
32b1831920
commit
726db0d3d0
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ func BenchmarkSimpleLoop(b *testing.B) {
|
|||
|
||||
p, lbl = program.New().Jumpdest()
|
||||
loopingCode2 := p.
|
||||
Push(0x01020304).Push(0x0102030405).
|
||||
Push(0x01020304).Push(uint64(0x0102030405)).
|
||||
Ops(vm.POP, vm.POP).
|
||||
Op(vm.PUSH6).Append(make([]byte, 6)).Op(vm.JUMP). // Jumpdest zero expressed in 6 bytes
|
||||
Bytecode()
|
||||
|
|
|
|||
Loading…
Reference in a new issue