MCPcopy Index your code
hub / github.com/sql-js/sql.js / _pushDownWhereTerms

Function _pushDownWhereTerms

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

Source from the content-addressed store, hash-verified

298500 return;
298501}
298502function _pushDownWhereTerms($0,$1,$2,$3) {
298503 $0 = $0|0;
298504 $1 = $1|0;
298505 $2 = $2|0;
298506 $3 = $3|0;
298507 var $$0$lcssa = 0, $$034 = 0, $$035$lcssa = 0, $$03540 = 0, $$03639 = 0, $$041 = 0, $$pre$i$i = 0, $$sink = 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;
298508 var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 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;
298509 var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
298510 sp = STACKTOP;
298511 STACKTOP = STACKTOP + 32|0;
298512 $4 = sp;
298513 $5 = ($2|0)==(0|0);
298514 if ($5) {
298515 $$034 = 0;
298516 STACKTOP = sp;return ($$034|0);
298517 }
298518 $6 = ((($1)) + 8|0);
298519 $7 = HEAP32[$6>>2]|0;
298520 $8 = $7 & 8192;
298521 $9 = ($8|0)==(0);
298522 if (!($9)) {
298523 $$034 = 0;
298524 STACKTOP = sp;return ($$034|0);
298525 }
298526 $10 = ((($1)) + 56|0);
298527 $11 = HEAP32[$10>>2]|0;
298528 $12 = ($11|0)==(0|0);
298529 if (!($12)) {
298530 $$034 = 0;
298531 STACKTOP = sp;return ($$034|0);
298532 }
298533 $13 = HEAP8[$2>>0]|0;
298534 $14 = ($13<<24>>24)==(44);
298535 if ($14) {
298536 $$03540 = $2;$$041 = 0;
298537 while(1) {
298538 $15 = ((($$03540)) + 16|0);
298539 $16 = HEAP32[$15>>2]|0;
298540 $17 = (_pushDownWhereTerms($0,$1,$16,$3)|0);
298541 $18 = (($17) + ($$041))|0;
298542 $19 = ((($$03540)) + 12|0);
298543 $20 = HEAP32[$19>>2]|0;
298544 $21 = HEAP8[$20>>0]|0;
298545 $22 = ($21<<24>>24)==(44);
298546 if ($22) {
298547 $$03540 = $20;$$041 = $18;
298548 } else {
298549 $$0$lcssa = $18;$$035$lcssa = $20;
298550 break;
298551 }
298552 }
298553 } else {
298554 $$0$lcssa = 0;$$035$lcssa = $2;
298555 }
298556 $23 = ((($$035$lcssa)) + 4|0);
298557 $24 = HEAP32[$23>>2]|0;
298558 $25 = $24 & 1;
298559 $26 = ($25|0)==(0);

Callers 1

_sqlite3SelectFunction · 0.85

Calls 4

_walkExprFunction · 0.85
_exprDupFunction · 0.85
_substExprFunction · 0.85
_sqlite3ExprAndFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…