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

Function _sqlite3WalkSelect

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

Source from the content-addressed store, hash-verified

206041 STACKTOP = sp;return ($$0|0);
206042}
206043function _sqlite3WalkSelect($0,$1) {
206044 $0 = $0|0;
206045 $1 = $1|0;
206046 var $$0 = 0, $$0$i$i25 = 0, $$0$i27 = 0, $$011$i$i24 = 0, $$017$i26 = 0, $$01844 = 0, $$lcssa = 0, $$pre = 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;
206047 var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $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;
206048 var $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
206049 sp = STACKTOP;
206050 $2 = ($1|0)==(0|0);
206051 if ($2) {
206052 $$0 = 0;
206053 return ($$0|0);
206054 }
206055 $3 = ((($0)) + 8|0);
206056 $4 = HEAP32[$3>>2]|0;
206057 $5 = ($4|0)==(0|0);
206058 if ($5) {
206059 $$0 = 0;
206060 return ($$0|0);
206061 }
206062 $6 = ((($0)) + 12|0);
206063 $7 = (FUNCTION_TABLE_iii[$4 & 255]($0,$1)|0);
206064 $8 = ($7|0)==(0);
206065 L7: do {
206066 if ($8) {
206067 $$01844 = $1;
206068 L8: while(1) {
206069 $10 = (_sqlite3WalkSelectExpr($0,$$01844)|0);
206070 $11 = ($10|0)==(0);
206071 if (!($11)) {
206072 $$0 = 2;
206073 label = 22;
206074 break;
206075 }
206076 $12 = ((($$01844)) + 28|0);
206077 $13 = HEAP32[$12>>2]|0;
206078 $14 = HEAP32[$13>>2]|0;
206079 $15 = ($14|0)>(0);
206080 if ($15) {
206081 $16 = ((($13)) + 8|0);
206082 $$0$i27 = $16;$$017$i26 = $14;
206083 while(1) {
206084 $17 = ((($$0$i27)) + 20|0);
206085 $18 = HEAP32[$17>>2]|0;
206086 $19 = ($18|0)==(0|0);
206087 if (!($19)) {
206088 $20 = (_sqlite3WalkSelect($0,$18)|0);
206089 $21 = ($20|0)==(0);
206090 if (!($21)) {
206091 $$0 = 2;
206092 label = 22;
206093 break L8;
206094 }
206095 }
206096 $22 = ((($$0$i27)) + 37|0);
206097 $23 = HEAP8[$22>>0]|0;
206098 $24 = $23 & 4;
206099 $25 = ($24<<24>>24)==(0);
206100 if (!($25)) {

Callers 5

_sqlite3SelectPrepFunction · 0.85
_selectExpanderFunction · 0.85
_resolveExprStepFunction · 0.85
_resolveSelectStepFunction · 0.85
_walkExprFunction · 0.85

Calls 2

_sqlite3WalkSelectExprFunction · 0.85
_walkExprFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…