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

Function _heightOfSelect

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

Source from the content-addressed store, hash-verified

298327 return ($$1|0);
298328}
298329function _heightOfSelect($0,$1) {
298330 $0 = $0|0;
298331 $1 = $1|0;
298332 var $$07$i = 0, $$07$i17 = 0, $$07$i23 = 0, $$pre$i = 0, $$pre$i19 = 0, $$pre$i25 = 0, $$tr30 = 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;
298333 var $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, $4 = 0;
298334 var $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, $58 = 0;
298335 var $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, $8 = 0, $9 = 0, label = 0;
298336 var sp = 0;
298337 sp = STACKTOP;
298338 $2 = ($0|0)==(0|0);
298339 if ($2) {
298340 return;
298341 } else {
298342 $$tr30 = $0;
298343 }
298344 while(1) {
298345 $3 = ((($$tr30)) + 32|0);
298346 $4 = HEAP32[$3>>2]|0;
298347 $5 = ($4|0)==(0|0);
298348 if (!($5)) {
298349 $6 = ((($4)) + 24|0);
298350 $7 = HEAP32[$6>>2]|0;
298351 $8 = HEAP32[$1>>2]|0;
298352 $9 = ($7|0)>($8|0);
298353 if ($9) {
298354 HEAP32[$1>>2] = $7;
298355 }
298356 }
298357 $10 = ((($$tr30)) + 40|0);
298358 $11 = HEAP32[$10>>2]|0;
298359 $12 = ($11|0)==(0|0);
298360 if (!($12)) {
298361 $13 = ((($11)) + 24|0);
298362 $14 = HEAP32[$13>>2]|0;
298363 $15 = HEAP32[$1>>2]|0;
298364 $16 = ($14|0)>($15|0);
298365 if ($16) {
298366 HEAP32[$1>>2] = $14;
298367 }
298368 }
298369 $17 = ((($$tr30)) + 56|0);
298370 $18 = HEAP32[$17>>2]|0;
298371 $19 = ($18|0)==(0|0);
298372 if (!($19)) {
298373 $20 = ((($18)) + 24|0);
298374 $21 = HEAP32[$20>>2]|0;
298375 $22 = HEAP32[$1>>2]|0;
298376 $23 = ($21|0)>($22|0);
298377 if ($23) {
298378 HEAP32[$1>>2] = $21;
298379 }
298380 }
298381 $24 = HEAP32[$$tr30>>2]|0;
298382 $25 = ($24|0)==(0|0);
298383 if (!($25)) {
298384 $26 = HEAP32[$24>>2]|0;
298385 $27 = ($26|0)>(0);
298386 if ($27) {

Callers 2

_exprSetHeightFunction · 0.85
_sqlite3SelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…