mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
core/filtermaps: ensure 8 byte alignment of struct fields
This commit is contained in:
parent
4ecb311798
commit
05f8d20185
1 changed files with 4 additions and 4 deletions
|
|
@ -334,11 +334,11 @@ func mergeResults(results []potentialMatches) potentialMatches {
|
|||
// gives a match at X+offset. Note that matchSequence can be used recursively to
|
||||
// detect any log value sequence.
|
||||
type matchSequence struct {
|
||||
baseEmptyRate, nextEmptyRate uint64 // first in struct to ensure 8 byte alignment
|
||||
params *Params
|
||||
base, next matcher
|
||||
offset uint64
|
||||
// *EmptyRate == totalCount << 32 + emptyCount (atomically accessed)
|
||||
baseEmptyRate, nextEmptyRate uint64
|
||||
}
|
||||
|
||||
// newMatchSequence creates a recursive sequence matcher from a list of underlying
|
||||
|
|
|
|||
Loading…
Reference in a new issue