Skip to content

Commit

Permalink
core/vm: optimize analysis of PUSH32
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast authored and holiman committed May 31, 2022
1 parent 6a0dda3 commit 01322ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/vm/analysis.go
Expand Up @@ -85,11 +85,11 @@ func codeBitmapInternal(code, bits bitvec) bitvec {
bits.set16(pc)
pc += 16
numbits -= 16
}
if numbits >= 16 {
bits.set16(pc)
pc += 16
numbits -= 16
if numbits == 16 {
bits.set16(pc)
pc += 16
numbits = 0
}
}
if numbits >= 8 {
bits.set8(pc)
Expand Down

0 comments on commit 01322ec

Please sign in to comment.