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

Function _convertCompoundSelectToSubquery

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

Source from the content-addressed store, hash-verified

205758 return 0;
205759}
205760function _convertCompoundSelectToSubquery($0,$1) {
205761 $0 = $0|0;
205762 $1 = $1|0;
205763 var $$0 = 0, $$0$i$i = 0, $$0$i$i60 = 0, $$056 = 0, $$056$in = 0, $$05764 = 0, $$idx$val = 0, $$sink$i$i = 0, $$sink4$i$i$i = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0;
205764 var $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0;
205765 var $19 = 0, $2 = 0, $20 = 0, $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;
205766 var $37 = 0, $38 = 0, $39 = 0, $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;
205767 var $55 = 0, $56 = 0, $57 = 0, $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;
205768 var $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0;
205769 var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $cond = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
205770 sp = STACKTOP;
205771 STACKTOP = STACKTOP + 16|0;
205772 $2 = sp;
205773 $3 = ((($1)) + 48|0);
205774 $4 = HEAP32[$3>>2]|0;
205775 $5 = ($4|0)==(0|0);
205776 if ($5) {
205777 $$0 = 0;
205778 STACKTOP = sp;return ($$0|0);
205779 }
205780 $6 = ((($1)) + 44|0);
205781 $7 = HEAP32[$6>>2]|0;
205782 $8 = ($7|0)==(0|0);
205783 if ($8) {
205784 $$0 = 0;
205785 STACKTOP = sp;return ($$0|0);
205786 } else {
205787 $$05764 = $1;
205788 }
205789 L6: while(1) {
205790 $9 = ((($$05764)) + 4|0);
205791 $10 = HEAP8[$9>>0]|0;
205792 switch ($10<<24>>24) {
205793 case 119: case 116: {
205794 break;
205795 }
205796 default: {
205797 break L6;
205798 }
205799 }
205800 $11 = ((($$05764)) + 48|0);
205801 $12 = HEAP32[$11>>2]|0;
205802 $cond = ($12|0)==(0|0);
205803 if ($cond) {
205804 $$0 = 0;
205805 label = 34;
205806 break;
205807 } else {
205808 $$05764 = $12;
205809 }
205810 }
205811 if ((label|0) == 34) {
205812 STACKTOP = sp;return ($$0|0);
205813 }
205814 $13 = HEAP32[$7>>2]|0;
205815 $$056$in = $13;
205816 while(1) {
205817 $$056 = (($$056$in) + -1)|0;

Callers

nothing calls this directly

Calls 6

_i64SubtractFunction · 0.85
_dbMallocRawFinishFunction · 0.85
_sqlite3SrcListAppendFunction · 0.85
_sqlite3ExprAllocFunction · 0.85
_sqlite3ExprListAppendFunction · 0.85
_clearSelectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…