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

Function _whereUsablePartialIndex

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

Source from the content-addressed store, hash-verified

280228 return ($$0|0);
280229}
280230function _whereUsablePartialIndex($0,$1,$2) {
280231 $0 = $0|0;
280232 $1 = $1|0;
280233 $2 = $2|0;
280234 var $$ = 0, $$03036 = 0, $$03135 = 0, $$032$lcssa = 0, $$03239 = 0, $$2 = 0, $$pre = 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;
280235 var $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, $4 = 0, $40 = 0;
280236 var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
280237 sp = STACKTOP;
280238 $3 = HEAP32[$1>>2]|0;
280239 $4 = HEAP32[$3>>2]|0;
280240 $5 = HEAP8[$2>>0]|0;
280241 $6 = ($5<<24>>24)==(44);
280242 L1: do {
280243 if ($6) {
280244 $$03239 = $2;
280245 while(1) {
280246 $7 = ((($$03239)) + 12|0);
280247 $8 = HEAP32[$7>>2]|0;
280248 $9 = (_whereUsablePartialIndex($0,$1,$8)|0);
280249 $10 = ($9|0)==(0);
280250 if ($10) {
280251 $$2 = 0;
280252 break;
280253 }
280254 $11 = ((($$03239)) + 16|0);
280255 $12 = HEAP32[$11>>2]|0;
280256 $13 = HEAP8[$12>>0]|0;
280257 $14 = ($13<<24>>24)==(44);
280258 if ($14) {
280259 $$03239 = $12;
280260 } else {
280261 $$032$lcssa = $12;
280262 break L1;
280263 }
280264 }
280265 return ($$2|0);
280266 } else {
280267 $$032$lcssa = $2;
280268 }
280269 } while(0);
280270 $15 = HEAP32[$4>>2]|0;
280271 $16 = ((($15)) + 28|0);
280272 $17 = HEAP32[$16>>2]|0;
280273 $18 = $17 & 8388608;
280274 $19 = ($18|0)==(0);
280275 $$ = $19 ? $4 : 0;
280276 $20 = ((($1)) + 12|0);
280277 $21 = HEAP32[$20>>2]|0;
280278 $22 = ($21|0)>(0);
280279 if (!($22)) {
280280 $$2 = 0;
280281 return ($$2|0);
280282 }
280283 $23 = ((($1)) + 20|0);
280284 $24 = HEAP32[$23>>2]|0;
280285 $$03036 = $24;$$03135 = 0;$40 = $21;
280286 while(1) {
280287 $25 = HEAP32[$$03036>>2]|0;

Callers 1

_whereLoopAddBtreeFunction · 0.85

Calls 1

_sqlite3ExprImpliesExprFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…