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 committed Dec 15, 2021
1 parent 8f06e53 commit 1013469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/vm/analysis.go
Expand Up @@ -91,10 +91,10 @@ func codeBitmapInternal(code, bits bitvec) bitvec {
bits.set16(pc)
pc += 16
numbits -= 16
if numbits >= 16 {
if numbits == 16 {
bits.set16(pc)
pc += 16
numbits -= 16
numbits = 0
}
}
if numbits >= 8 {
Expand Down

0 comments on commit 1013469

Please sign in to comment.