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

Function _fts3SegReaderDoclistCmpRev

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

Source from the content-addressed store, hash-verified

343736 return;
343737}
343738function _fts3SegReaderDoclistCmpRev($0,$1) {
343739 $0 = $0|0;
343740 $1 = $1|0;
343741 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;
343742 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;
343743 sp = STACKTOP;
343744 $2 = ((($0)) + 80|0);
343745 $3 = HEAP32[$2>>2]|0;
343746 $4 = ($3|0)==(0|0);
343747 $5 = $4&1;
343748 $6 = ((($1)) + 80|0);
343749 $7 = HEAP32[$6>>2]|0;
343750 $8 = ($7|0)==(0|0);
343751 $9 = $8&1;
343752 $10 = (($5) - ($9))|0;
343753 $11 = ($10|0)==(0);
343754 if (!($11)) {
343755 $$0 = $10;
343756 return ($$0|0);
343757 }
343758 $12 = ((($0)) + 88|0);
343759 $13 = $12;
343760 $14 = $13;
343761 $15 = HEAP32[$14>>2]|0;
343762 $16 = (($13) + 4)|0;
343763 $17 = $16;
343764 $18 = HEAP32[$17>>2]|0;
343765 $19 = ((($1)) + 88|0);
343766 $20 = $19;
343767 $21 = $20;
343768 $22 = HEAP32[$21>>2]|0;
343769 $23 = (($20) + 4)|0;
343770 $24 = $23;
343771 $25 = HEAP32[$24>>2]|0;
343772 $26 = ($15|0)==($22|0);
343773 $27 = ($18|0)==($25|0);
343774 $28 = $26 & $27;
343775 if ($28) {
343776 $29 = HEAP32[$1>>2]|0;
343777 $30 = HEAP32[$0>>2]|0;
343778 $31 = (($29) - ($30))|0;
343779 $$0 = $31;
343780 return ($$0|0);
343781 } else {
343782 $32 = ($18|0)<($25|0);
343783 $33 = ($15>>>0)<($22>>>0);
343784 $34 = ($18|0)==($25|0);
343785 $35 = $34 & $33;
343786 $36 = $32 | $35;
343787 $37 = $36 ? 1 : -1;
343788 $$0 = $37;
343789 return ($$0|0);
343790 }
343791 return (0)|0;
343792}
343793function _fts3SegReaderDoclistCmp($0,$1) {
343794 $0 = $0|0;
343795 $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…