mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix bad test in WASM version of HNTrieContainer
The erroneous test does not seem to interfere with the proper functioning of the trie, due to the fact that nodes are never split without a OR node or boundary node being present. The issue was found when undertaking a rewrite of the algorithm to avoid having to create boundary nodes.
This commit is contained in:
parent
385acd7b0a
commit
b54bf554a8
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -197,7 +197,7 @@
|
||||||
br_if $noSegment
|
br_if $noSegment
|
||||||
;; if ( this.buf32[icell+2] === 0 ) {
|
;; if ( this.buf32[icell+2] === 0 ) {
|
||||||
get_local $icell
|
get_local $icell
|
||||||
i32.load
|
i32.load offset=8
|
||||||
i32.eqz
|
i32.eqz
|
||||||
if
|
if
|
||||||
;; if ( ineedle === 0 || this.buf[ineedle-1] === 0x2E ) {
|
;; if ( ineedle === 0 || this.buf[ineedle-1] === 0x2E ) {
|
||||||
|
|
Loading…
Reference in a new issue