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

Function _exprSetHeight

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

Source from the content-addressed store, hash-verified

144185 STACKTOP = sp;return;
144186}
144187function _exprSetHeight($0) {
144188 $0 = $0|0;
144189 var $$ = 0, $$012$lcssa$i = 0, $$01213$i = 0, $$014$i = 0, $$07$i = 0, $$pre = 0, $$promoted = 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;
144190 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;
144191 var $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $exitcond = 0, $phitmp = 0, label = 0, sp = 0;
144192 sp = STACKTOP;
144193 STACKTOP = STACKTOP + 16|0;
144194 $1 = sp;
144195 HEAP32[$1>>2] = 0;
144196 $2 = ((($0)) + 12|0);
144197 $3 = HEAP32[$2>>2]|0;
144198 $4 = ($3|0)==(0|0);
144199 if ($4) {
144200 $14 = 0;
144201 } else {
144202 $5 = ((($3)) + 24|0);
144203 $6 = HEAP32[$5>>2]|0;
144204 $7 = ($6|0)>(0);
144205 if ($7) {
144206 HEAP32[$1>>2] = $6;
144207 $14 = $6;
144208 } else {
144209 $14 = 0;
144210 }
144211 }
144212 $8 = ((($0)) + 16|0);
144213 $9 = HEAP32[$8>>2]|0;
144214 $10 = ($9|0)==(0|0);
144215 if ($10) {
144216 $$promoted = $14;
144217 } else {
144218 $11 = ((($9)) + 24|0);
144219 $12 = HEAP32[$11>>2]|0;
144220 $13 = ($12|0)>($14|0);
144221 if ($13) {
144222 HEAP32[$1>>2] = $12;
144223 $$promoted = $12;
144224 } else {
144225 $$promoted = $14;
144226 }
144227 }
144228 $15 = ((($0)) + 4|0);
144229 $16 = HEAP32[$15>>2]|0;
144230 $17 = $16 & 2048;
144231 $18 = ($17|0)==(0);
144232 $19 = ((($0)) + 20|0);
144233 if (!($18)) {
144234 $20 = HEAP32[$19>>2]|0;
144235 _heightOfSelect($20,$1);
144236 $$pre = HEAP32[$1>>2]|0;
144237 $43 = $$pre;
144238 $42 = (($43) + 1)|0;
144239 $44 = ((($0)) + 24|0);
144240 HEAP32[$44>>2] = $42;
144241 STACKTOP = sp;return;
144242 }
144243 $21 = HEAP32[$19>>2]|0;
144244 $22 = ($21|0)==(0|0);

Callers 12

_yy_reduceFunction · 0.85
_spanBinaryExprFunction · 0.85
_exprNotFunction · 0.85
_selectExpanderFunction · 0.85
_sqlite3ExprAndFunction · 0.85
_sqlite3CodeSubselectFunction · 0.85
_fkScanChildrenFunction · 0.85
_sqlite3WhereBeginFunction · 0.85
_exprAnalyzeFunction · 0.85
_sqlite3FkActionsFunction · 0.85

Calls 1

_heightOfSelectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…