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

Function _setJoinExpr

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

Source from the content-addressed store, hash-verified

216026 STACKTOP = sp;return ($$0|0);
216027}
216028function _setJoinExpr($0,$1) {
216029 $0 = $0|0;
216030 $1 = $1|0;
216031 var $$01517 = 0, $$016 = 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;
216032 var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
216033 sp = STACKTOP;
216034 $2 = ($0|0)==(0|0);
216035 if ($2) {
216036 return;
216037 }
216038 $3 = $1&65535;
216039 $$01517 = $0;
216040 while(1) {
216041 $4 = ((($$01517)) + 4|0);
216042 $5 = HEAP32[$4>>2]|0;
216043 $6 = $5 | 1;
216044 HEAP32[$4>>2] = $6;
216045 $7 = ((($$01517)) + 36|0);
216046 HEAP16[$7>>1] = $3;
216047 $8 = HEAP8[$$01517>>0]|0;
216048 $9 = ($8<<24>>24)==(-112);
216049 if ($9) {
216050 $10 = ((($$01517)) + 20|0);
216051 $11 = HEAP32[$10>>2]|0;
216052 $12 = ($11|0)==(0|0);
216053 if (!($12)) {
216054 $13 = HEAP32[$11>>2]|0;
216055 $14 = ($13|0)>(0);
216056 if ($14) {
216057 $$016 = 0;$16 = $11;
216058 while(1) {
216059 $15 = (((($16)) + 4|0) + (($$016*20)|0)|0);
216060 $17 = HEAP32[$15>>2]|0;
216061 _setJoinExpr($17,$1);
216062 $18 = (($$016) + 1)|0;
216063 $19 = HEAP32[$10>>2]|0;
216064 $20 = HEAP32[$19>>2]|0;
216065 $21 = ($18|0)<($20|0);
216066 if ($21) {
216067 $$016 = $18;$16 = $19;
216068 } else {
216069 break;
216070 }
216071 }
216072 }
216073 }
216074 }
216075 $22 = ((($$01517)) + 12|0);
216076 $23 = HEAP32[$22>>2]|0;
216077 _setJoinExpr($23,$1);
216078 $24 = ((($$01517)) + 16|0);
216079 $25 = HEAP32[$24>>2]|0;
216080 $26 = ($25|0)==(0|0);
216081 if ($26) {
216082 break;
216083 } else {
216084 $$01517 = $25;
216085 }

Callers 2

_sqlite3SelectFunction · 0.85
_selectExpanderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…