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

Function _fts3auxOpenMethod

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

Source from the content-addressed store, hash-verified

388576 return (0)|0;
388577}
388578function _fts3auxOpenMethod($0,$1) {
388579 $0 = $0|0;
388580 $1 = $1|0;
388581 var $$0 = 0, $$0$i8 = 0, $$sink$i$i$i = 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;
388582 var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
388583 var $44 = 0, $45 = 0, $46 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, dest = 0, label = 0, sp = 0, stop = 0;
388584 sp = STACKTOP;
388585 $2 = (_sqlite3_initialize()|0);
388586 $3 = ($2|0)==(0);
388587 if (!($3)) {
388588 $$0 = 7;
388589 return ($$0|0);
388590 }
388591 $4 = HEAP32[2]|0;
388592 $5 = ($4|0)==(0);
388593 if ($5) {
388594 $44 = HEAP32[(52)>>2]|0;
388595 $45 = (FUNCTION_TABLE_ii[$44 & 255](120)|0);
388596 $46 = ($45|0)==(0|0);
388597 if ($46) {
388598 $$0 = 7;
388599 return ($$0|0);
388600 } else {
388601 $$0$i8 = $45;
388602 }
388603 } else {
388604 $6 = HEAP32[(68)>>2]|0;
388605 $7 = (FUNCTION_TABLE_ii[$6 & 255](120)|0);
388606 $8 = HEAP32[11829]|0;
388607 $9 = ($8>>>0)<(120);
388608 if ($9) {
388609 HEAP32[11829] = 120;
388610 }
388611 $10 = (46456);
388612 $11 = $10;
388613 $12 = HEAP32[$11>>2]|0;
388614 $13 = (($10) + 4)|0;
388615 $14 = $13;
388616 $15 = HEAP32[$14>>2]|0;
388617 $16 = ($15|0)>(0);
388618 $17 = ($12>>>0)>(0);
388619 $18 = ($15|0)==(0);
388620 $19 = $18 & $17;
388621 $20 = $16 | $19;
388622 if ($20) {
388623 $21 = HEAP32[11822]|0;
388624 $22 = ($7|0)<(0);
388625 $23 = $22 << 31 >> 31;
388626 $24 = (_i64Subtract(($12|0),($15|0),($7|0),($23|0))|0);
388627 $25 = tempRet0;
388628 $26 = (0)>($25|0);
388629 $27 = ($21>>>0)>=($24>>>0);
388630 $28 = (0)==($25|0);
388631 $29 = $28 & $27;
388632 $30 = $26 | $29;
388633 $$sink$i$i$i = $30&1;
388634 HEAP32[(46464)>>2] = $$sink$i$i$i;
388635 }

Callers

nothing calls this directly

Calls 2

_sqlite3_initializeFunction · 0.85
_i64SubtractFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…