MCPcopy Create free account
hub / github.com/sql-js/sql.js / _fts3SegReaderDoclistCmp

Function _fts3SegReaderDoclistCmp

js/sql-debug.js:343793–343847  ·  view source on GitHub ↗
($0,$1)

Source from the content-addressed store, hash-verified

343791 return (0)|0;
343792}
343793function _fts3SegReaderDoclistCmp($0,$1) {
343794 $0 = $0|0;
343795 $1 = $1|0;
343796 var $$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
343797 var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
343798 sp = STACKTOP;
343799 $2 = ((($0)) + 80|0);
343800 $3 = HEAP32[$2>>2]|0;
343801 $4 = ($3|0)==(0|0);
343802 $5 = $4&1;
343803 $6 = ((($1)) + 80|0);
343804 $7 = HEAP32[$6>>2]|0;
343805 $8 = ($7|0)==(0|0);
343806 $9 = $8&1;
343807 $10 = (($5) - ($9))|0;
343808 $11 = ($10|0)==(0);
343809 if (!($11)) {
343810 $$0 = $10;
343811 return ($$0|0);
343812 }
343813 $12 = ((($0)) + 88|0);
343814 $13 = $12;
343815 $14 = $13;
343816 $15 = HEAP32[$14>>2]|0;
343817 $16 = (($13) + 4)|0;
343818 $17 = $16;
343819 $18 = HEAP32[$17>>2]|0;
343820 $19 = ((($1)) + 88|0);
343821 $20 = $19;
343822 $21 = $20;
343823 $22 = HEAP32[$21>>2]|0;
343824 $23 = (($20) + 4)|0;
343825 $24 = $23;
343826 $25 = HEAP32[$24>>2]|0;
343827 $26 = ($15|0)==($22|0);
343828 $27 = ($18|0)==($25|0);
343829 $28 = $26 & $27;
343830 if ($28) {
343831 $29 = HEAP32[$1>>2]|0;
343832 $30 = HEAP32[$0>>2]|0;
343833 $31 = (($29) - ($30))|0;
343834 $$0 = $31;
343835 return ($$0|0);
343836 } else {
343837 $32 = ($18|0)>($25|0);
343838 $33 = ($15>>>0)>($22>>>0);
343839 $34 = ($18|0)==($25|0);
343840 $35 = $34 & $33;
343841 $36 = $32 | $35;
343842 $37 = $36 ? 1 : -1;
343843 $$0 = $37;
343844 return ($$0|0);
343845 }
343846 return (0)|0;
343847}
343848function _fts3SegReaderNext($0,$1) {
343849 $0 = $0|0;
343850 $1 = $1|0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…