1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02: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:
Raymond Hill 2021-08-09 07:02:00 -04:00
parent 385acd7b0a
commit b54bf554a8
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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 ) {