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

Function _whereLoopDelete

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

Source from the content-addressed store, hash-verified

259555 }
259556}
259557function _whereLoopDelete($0,$1) {
259558 $0 = $0|0;
259559 $1 = $1|0;
259560 var $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, $27 = 0, $28 = 0;
259561 var $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, $45 = 0, $46 = 0;
259562 var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
259563 sp = STACKTOP;
259564 $2 = ((($1)) + 48|0);
259565 $3 = HEAP32[$2>>2]|0;
259566 $4 = ((($1)) + 56|0);
259567 $5 = ($3|0)==($4|0);
259568 do {
259569 if (!($5)) {
259570 $6 = ($0|0)==(0|0);
259571 if (!($6)) {
259572 $7 = ((($0)) + 464|0);
259573 $8 = HEAP32[$7>>2]|0;
259574 $9 = ($8|0)==(0|0);
259575 if (!($9)) {
259576 _measureAllocationSize($0,$3);
259577 break;
259578 }
259579 $10 = $3;
259580 $11 = ((($0)) + 296|0);
259581 $12 = HEAP32[$11>>2]|0;
259582 $13 = ($10>>>0)<($12>>>0);
259583 if (!($13)) {
259584 $14 = ((($0)) + 300|0);
259585 $15 = HEAP32[$14>>2]|0;
259586 $16 = ($10>>>0)<($15>>>0);
259587 if ($16) {
259588 $17 = ((($0)) + 292|0);
259589 $18 = HEAP32[$17>>2]|0;
259590 HEAP32[$3>>2] = $18;
259591 HEAP32[$17>>2] = $3;
259592 break;
259593 }
259594 }
259595 }
259596 $19 = ($3|0)==(0|0);
259597 if (!($19)) {
259598 $20 = HEAP32[2]|0;
259599 $21 = ($20|0)==(0);
259600 if ($21) {
259601 $29 = HEAP32[(56)>>2]|0;
259602 FUNCTION_TABLE_vi[$29 & 255]($3);
259603 break;
259604 } else {
259605 $22 = HEAP32[(64)>>2]|0;
259606 $23 = (FUNCTION_TABLE_ii[$22 & 255]($3)|0);
259607 $24 = HEAP32[11822]|0;
259608 $25 = (($24) - ($23))|0;
259609 HEAP32[11822] = $25;
259610 $26 = HEAP32[11825]|0;
259611 $27 = (($26) + -1)|0;
259612 HEAP32[11825] = $27;
259613 $28 = HEAP32[(56)>>2]|0;
259614 FUNCTION_TABLE_vi[$28 & 255]($3);

Callers 3

_sqlite3WhereBeginFunction · 0.85
_sqlite3WhereEndFunction · 0.85
_whereLoopInsertFunction · 0.85

Calls 2

_measureAllocationSizeFunction · 0.85
_whereLoopClearUnionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…