aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-03-19 16:16:38 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-03-20 12:17:55 +0100
commit17810eaefa3a6802fa401bda89898b763680d1e4 (patch)
treeafdab1a95d2b5902d0003f390362ed1ba60d3ddd /sys/linux
parente45f56215254be1c07500282440f1905fac8f8b7 (diff)
pkg/cover/backend: refactor readCoverPoints
1. Move len check after opcode check. This should make things faster, because opcode check will be false most of the time. 2. Don't compare strings in the loop. 3. Rewind position to the beginning of the instruction for arm64. This simplifies subsequent checks and calculations.
Diffstat (limited to 'sys/linux')
0 files changed, 0 insertions, 0 deletions