Skip to content

Commit

Permalink
lib.poptrie_lookup: fix bug where offset was not set correctly
Browse files Browse the repository at this point in the history
...when using direct pointing with s ~= 18.
  • Loading branch information
eugeneia committed Mar 5, 2019
1 parent a85ff9b commit ecd9a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/poptrie_lookup.dasl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function lookup (Dst, Poptrie, keysize)
| imul index, 24 -- multiply by node size
| lea node, [nodes+index]
-- offset = s
| mov offset, 18
| mov offset, Poptrie.s
else
-- index, node, offset = 0, nodes[index], 0
| xor index, index
Expand Down

0 comments on commit ecd9a3e

Please sign in to comment.