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

Function _countFinalize

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

Source from the content-addressed store, hash-verified

29157 return;
29158}
29159function _countFinalize($0) {
29160 $0 = $0|0;
29161 var $$0$i = 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, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
29162 var $27 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
29163 sp = STACKTOP;
29164 $1 = ((($0)) + 8|0);
29165 $2 = HEAP32[$1>>2]|0;
29166 $3 = ((($2)) + 8|0);
29167 $4 = HEAP16[$3>>1]|0;
29168 $5 = $4 & 8192;
29169 $6 = ($5<<16>>16)==(0);
29170 if ($6) {
29171 $7 = (_createAggContext($0,0)|0);
29172 $$0$i = $7;
29173 } else {
29174 $8 = ((($2)) + 16|0);
29175 $9 = HEAP32[$8>>2]|0;
29176 $$0$i = $9;
29177 }
29178 $10 = ($$0$i|0)==(0|0);
29179 if ($10) {
29180 $22 = 0;$23 = 0;
29181 } else {
29182 $11 = $$0$i;
29183 $12 = $11;
29184 $13 = HEAP32[$12>>2]|0;
29185 $14 = (($11) + 4)|0;
29186 $15 = $14;
29187 $16 = HEAP32[$15>>2]|0;
29188 $22 = $13;$23 = $16;
29189 }
29190 $17 = HEAP32[$0>>2]|0;
29191 $18 = ((($17)) + 8|0);
29192 $19 = HEAP16[$18>>1]|0;
29193 $20 = $19 & 9312;
29194 $21 = ($20<<16>>16)==(0);
29195 if ($21) {
29196 $24 = $17;
29197 $25 = $24;
29198 HEAP32[$25>>2] = $22;
29199 $26 = (($24) + 4)|0;
29200 $27 = $26;
29201 HEAP32[$27>>2] = $23;
29202 HEAP16[$18>>1] = 4;
29203 return;
29204 } else {
29205 _vdbeReleaseAndSetInt64($17,$22,$23);
29206 return;
29207 }
29208}
29209function _groupConcatStep($0,$1,$2) {
29210 $0 = $0|0;
29211 $1 = $1|0;

Callers

nothing calls this directly

Calls 2

_createAggContextFunction · 0.85
_vdbeReleaseAndSetInt64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…