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

Function _whereIndexExprTransNode

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

Source from the content-addressed store, hash-verified

277518 return;
277519}
277520function _whereIndexExprTransNode($0,$1) {
277521 $0 = $0|0;
277522 $1 = $1|0;
277523 var $$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
277524 sp = STACKTOP;
277525 $2 = ((($0)) + 24|0);
277526 $3 = HEAP32[$2>>2]|0;
277527 $4 = HEAP32[$3>>2]|0;
277528 $5 = ((($3)) + 4|0);
277529 $6 = HEAP32[$5>>2]|0;
277530 $7 = (_sqlite3ExprCompare(0,$1,$4,$6)|0);
277531 $8 = ($7|0)==(0);
277532 if (!($8)) {
277533 $$0 = 0;
277534 return ($$0|0);
277535 }
277536 HEAP8[$1>>0] = -111;
277537 $9 = ((($3)) + 8|0);
277538 $10 = HEAP32[$9>>2]|0;
277539 $11 = ((($1)) + 28|0);
277540 HEAP32[$11>>2] = $10;
277541 $12 = ((($3)) + 12|0);
277542 $13 = HEAP32[$12>>2]|0;
277543 $14 = $13&65535;
277544 $15 = ((($1)) + 32|0);
277545 HEAP16[$15>>1] = $14;
277546 $16 = ((($1)) + 44|0);
277547 HEAP32[$16>>2] = 0;
277548 $$0 = 1;
277549 return ($$0|0);
277550}
277551function _sqlite3ExprCodeGetColumnToReg($0,$1,$2,$3,$4) {
277552 $0 = $0|0;
277553 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_sqlite3ExprCompareFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…