Skip to content

Commit

Permalink
core/vm: fast continue for PUSH32 analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Dec 15, 2021
1 parent 8f06e53 commit ed7a22c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/vm/analysis.go
Original file line number Diff line number Diff line change
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
continue
}
}
if numbits >= 8 {
Expand Down

0 comments on commit ed7a22c

Please sign in to comment.