MCPcopy
hub / github.com/sql-js/sql.js / _sqlite3ExprAnd

Function _sqlite3ExprAnd

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

Source from the content-addressed store, hash-verified

215859 return 0;
215860}
215861function _sqlite3ExprAnd($0,$1,$2) {
215862 $0 = $0|0;
215863 $1 = $1|0;
215864 $2 = $2|0;
215865 var $$0 = 0, $$0$i$i = 0, $$sink4$i$i = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
215866 var $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, $44 = 0;
215867 var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $7 = 0, $8 = 0;
215868 var $9 = 0, dest = 0, label = 0, sp = 0, stop = 0;
215869 sp = STACKTOP;
215870 STACKTOP = STACKTOP + 16|0;
215871 $3 = sp;
215872 $4 = ($1|0)==(0|0);
215873 if ($4) {
215874 $$0 = $2;
215875 STACKTOP = sp;return ($$0|0);
215876 }
215877 $5 = ($2|0)==(0|0);
215878 if ($5) {
215879 $$0 = $1;
215880 STACKTOP = sp;return ($$0|0);
215881 }
215882 HEAP32[$3>>2] = 0;
215883 $6 = ((($1)) + 4|0);
215884 $7 = HEAP32[$6>>2]|0;
215885 $8 = $7 & 1;
215886 $9 = ($8|0)==(0);
215887 if ($9) {
215888 $10 = (_sqlite3ExprIsInteger($1,$3)|0);
215889 $11 = ($10|0)==(0);
215890 if ($11) {
215891 label = 5;
215892 } else {
215893 $12 = HEAP32[$3>>2]|0;
215894 $13 = ($12|0)==(0);
215895 if (!($13)) {
215896 label = 7;
215897 }
215898 }
215899 } else {
215900 label = 5;
215901 }
215902 if ((label|0) == 5) {
215903 label = 7;
215904 }
215905 do {
215906 if ((label|0) == 7) {
215907 HEAP32[$3>>2] = 0;
215908 $14 = ((($2)) + 4|0);
215909 $15 = HEAP32[$14>>2]|0;
215910 $16 = $15 & 1;
215911 $17 = ($16|0)==(0);
215912 if ($17) {
215913 $18 = (_sqlite3ExprIsInteger($2,$3)|0);
215914 $19 = ($18|0)==(0);
215915 if ($19) {
215916 label = 9;
215917 } else {
215918 $20 = HEAP32[$3>>2]|0;

Callers 10

_sqlite3SelectFunction · 0.85
_spanBinaryExprFunction · 0.85
_selectExpanderFunction · 0.85
_fkScanChildrenFunction · 0.85
_sqlite3WhereBeginFunction · 0.85
_exprAnalyzeFunction · 0.85
_sqlite3FkActionsFunction · 0.85
_pushDownWhereTermsFunction · 0.85
_havingToWhereExprCbFunction · 0.85

Calls 5

_sqlite3ExprIsIntegerFunction · 0.85
_dbMallocRawFinishFunction · 0.85
_exprSetHeightFunction · 0.85
_sqlite3ExprDeleteNNFunction · 0.85
_sqlite3ExprAllocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…