mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 09:39:38 +02:00
Update ./wasm/* files from publicsuffixlist.js (#3853)
This commit is contained in:
parent
255ae00677
commit
19fb513d52
Binary file not shown.
@ -43,6 +43,7 @@
|
||||
;; const HOSTNAME_SLOT = 0; // jshint ignore:line
|
||||
;; const LABEL_INDICES_SLOT = 256; // -- / 256
|
||||
;; const RULES_PTR_SLOT = 100; // 100 / 400
|
||||
;; const SUFFIX_NOT_FOUND_SLOT = 399; // -- / 399
|
||||
;; const CHARDATA_PTR_SLOT = 101; // 101 / 404
|
||||
;; const EMPTY_STRING = '';
|
||||
;; const SELFIE_MAGIC = 2;
|
||||
@ -247,6 +248,7 @@
|
||||
;; // 2. If no rules match, the prevailing rule is "*".
|
||||
;; if ( iFound === 0 ) {
|
||||
;; if ( buf8[iCandidates + 1 << 2] !== 0x2A /* '*' */ ) { break; }
|
||||
;; buf8[SUFFIX_NOT_FOUND_SLOT] = 1;
|
||||
;; iFound = iCandidates;
|
||||
;; }
|
||||
get_local $iFound
|
||||
@ -257,6 +259,9 @@
|
||||
i32.const 0x2A
|
||||
i32.ne
|
||||
br_if $labelLookupDone
|
||||
i32.const 399
|
||||
i32.const 1
|
||||
i32.store8
|
||||
get_local $iCandidates
|
||||
set_local $iFound
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user