mirror of https://github.com/gorhill/uBlock.git
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
Binary file not shown.
|
@ -197,7 +197,7 @@
|
|||
br_if $noSegment
|
||||
;; if ( this.buf32[icell+2] === 0 ) {
|
||||
get_local $icell
|
||||
i32.load
|
||||
i32.load offset=8
|
||||
i32.eqz
|
||||
if
|
||||
;; if ( ineedle === 0 || this.buf[ineedle-1] === 0x2E ) {
|
||||
|
|
Loading…
Reference in New Issue