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

Function _rowSetEntrySort

js/sql-debug.js:312578–312778  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

312576 return;
312577}
312578function _rowSetEntrySort($0) {
312579 $0 = $0|0;
312580 var $$0$i = 0, $$0$i$phi = 0, $$0$i28 = 0, $$0$i28$phi = 0, $$0$ph$i = 0, $$0$ph$i25 = 0, $$019$i = 0, $$019$i27 = 0, $$019$ph$i = 0, $$019$ph$i24 = 0, $$020$ph$i = 0, $$020$ph$i23 = 0, $$02147 = 0, $$050 = 0, $$1$i = 0, $$1$i29 = 0, $$1$lcssa = 0, $$12245 = 0, $$148 = 0, $$246 = 0;
312581 var $$3 = 0, $$lcssa44 = 0, $$pre67 = 0, $$sink$i = 0, $$sink$i31 = 0, $$sink2$i = 0, $$sink2$i30 = 0, $1 = 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;
312582 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;
312583 var $4 = 0, $40 = 0, $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, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
312584 var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
312585 var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $9 = 0, $exitcond = 0, label = 0, sp = 0;
312586 sp = STACKTOP;
312587 STACKTOP = STACKTOP + 176|0;
312588 $1 = sp;
312589 $2 = sp + 16|0;
312590 _memset(($2|0),0,160)|0;
312591 $3 = ($0|0)==(0|0);
312592 if ($3) {
312593 $85 = 0;
312594 } else {
312595 $4 = ((($1)) + 8|0);
312596 $$050 = $0;$7 = 0;
312597 while(1) {
312598 $5 = ((($$050)) + 8|0);
312599 $6 = HEAP32[$5>>2]|0;
312600 HEAP32[$5>>2] = 0;
312601 $8 = ($7|0)==(0|0);
312602 if ($8) {
312603 $$1$lcssa = $$050;$$lcssa44 = $2;
312604 } else {
312605 $$02147 = 0;$$148 = $$050;$41 = $2;$86 = $7;
312606 while(1) {
312607 $$0$ph$i = $1;$$019$ph$i = $$148;$$020$ph$i = $86;
312608 L8: while(1) {
312609 $9 = $$020$ph$i;
312610 $10 = $9;
312611 $11 = HEAP32[$10>>2]|0;
312612 $12 = (($9) + 4)|0;
312613 $13 = $12;
312614 $14 = HEAP32[$13>>2]|0;
312615 $$0$i = $$0$ph$i;$$019$i = $$019$ph$i;
312616 while(1) {
312617 $15 = $$019$i;
312618 $16 = $15;
312619 $17 = HEAP32[$16>>2]|0;
312620 $18 = (($15) + 4)|0;
312621 $19 = $18;
312622 $20 = HEAP32[$19>>2]|0;
312623 $21 = ($14|0)>($20|0);
312624 $22 = ($11>>>0)>($17>>>0);
312625 $23 = ($14|0)==($20|0);
312626 $24 = $23 & $22;
312627 $25 = $21 | $24;
312628 if (!($25)) {
312629 break;
312630 }
312631 $35 = ((($$0$i)) + 8|0);
312632 HEAP32[$35>>2] = $$019$i;
312633 $36 = ((($$019$i)) + 8|0);
312634 $37 = HEAP32[$36>>2]|0;
312635 $38 = ($37|0)==(0|0);

Callers 1

_sqlite3VdbeExecFunction · 0.85

Calls 1

_memsetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…