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

Function _sqlite3IndexedByLookup

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

Source from the content-addressed store, hash-verified

195070 STACKTOP = sp;return ($$3|0);
195071}
195072function _sqlite3IndexedByLookup($0,$1) {
195073 $0 = $0|0;
195074 $1 = $1|0;
195075 var $$01315$i = 0, $$016$i = 0, $$021 = 0, $$02126 = 0, $$02127 = 0, $$1 = 0, $$lcssa$i = 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;
195076 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;
195077 var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond$i = 0, $or$cond14$i = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, label = 0, sp = 0;
195078 sp = STACKTOP;
195079 STACKTOP = STACKTOP + 16|0;
195080 $vararg_buffer = sp;
195081 $2 = ((($1)) + 16|0);
195082 $3 = HEAP32[$2>>2]|0;
195083 $4 = ($3|0)==(0|0);
195084 if ($4) {
195085 $$1 = 0;
195086 STACKTOP = sp;return ($$1|0);
195087 }
195088 $5 = ((($1)) + 37|0);
195089 $6 = HEAP8[$5>>0]|0;
195090 $7 = $6 & 2;
195091 $8 = ($7<<24>>24)==(0);
195092 if ($8) {
195093 $$1 = 0;
195094 STACKTOP = sp;return ($$1|0);
195095 }
195096 $9 = ((($1)) + 64|0);
195097 $10 = HEAP32[$9>>2]|0;
195098 $11 = ((($3)) + 8|0);
195099 $$02126 = HEAP32[$11>>2]|0;
195100 $12 = ($$02126|0)==(0|0);
195101 L7: do {
195102 if (!($12)) {
195103 $13 = HEAP8[$10>>0]|0;
195104 $14 = $13&255;
195105 $15 = (17324 + ($14)|0);
195106 $16 = HEAP8[$15>>0]|0;
195107 $17 = $16&255;
195108 $$02127 = $$02126;
195109 while(1) {
195110 $18 = HEAP32[$$02127>>2]|0;
195111 $19 = HEAP8[$18>>0]|0;
195112 $20 = $19&255;
195113 $21 = (17324 + ($20)|0);
195114 $22 = HEAP8[$21>>0]|0;
195115 $23 = $22&255;
195116 $24 = (($23) - ($17))|0;
195117 $25 = ($24|0)!=(0);
195118 $26 = ($19<<24>>24)==(0);
195119 $or$cond14$i = $26 | $25;
195120 if ($or$cond14$i) {
195121 $$lcssa$i = $24;
195122 } else {
195123 $$01315$i = $10;$$016$i = $18;
195124 while(1) {
195125 $27 = ((($$016$i)) + 1|0);
195126 $28 = ((($$01315$i)) + 1|0);
195127 $29 = HEAP8[$27>>0]|0;
195128 $30 = $29&255;
195129 $31 = (17324 + ($30)|0);

Callers 6

_yy_reduceFunction · 0.85
_sqlite3CreateIndexFunction · 0.85
_sqlite3DeleteFromFunction · 0.85
_sqlite3UpdateFunction · 0.85
_sqlite3InsertFunction · 0.85
_selectExpanderFunction · 0.85

Calls 1

_sqlite3ErrorMsgFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…