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

Function _pragmaVtabNext

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

Source from the content-addressed store, hash-verified

243193 STACKTOP = sp;return ($$2|0);
243194}
243195function _pragmaVtabNext($0) {
243196 $0 = $0|0;
243197 var $$0 = 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, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
243198 var label = 0, sp = 0;
243199 sp = STACKTOP;
243200 $1 = ((($0)) + 8|0);
243201 $2 = $1;
243202 $3 = $2;
243203 $4 = HEAP32[$3>>2]|0;
243204 $5 = (($2) + 4)|0;
243205 $6 = $5;
243206 $7 = HEAP32[$6>>2]|0;
243207 $8 = (_i64Add(($4|0),($7|0),1,0)|0);
243208 $9 = tempRet0;
243209 $10 = $1;
243210 $11 = $10;
243211 HEAP32[$11>>2] = $8;
243212 $12 = (($10) + 4)|0;
243213 $13 = $12;
243214 HEAP32[$13>>2] = $9;
243215 $14 = ((($0)) + 4|0);
243216 $15 = HEAP32[$14>>2]|0;
243217 $16 = (_sqlite3_step($15)|0);
243218 $17 = ($16|0)==(100);
243219 if ($17) {
243220 $$0 = 0;
243221 return ($$0|0);
243222 }
243223 $18 = HEAP32[$14>>2]|0;
243224 $19 = (_sqlite3_finalize($18)|0);
243225 HEAP32[$14>>2] = 0;
243226 _pragmaVtabCursorClear($0);
243227 $$0 = $19;
243228 return ($$0|0);
243229}
243230function _pragmaVtabEof($0) {
243231 $0 = $0|0;
243232 var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;

Callers

nothing calls this directly

Calls 4

_i64AddFunction · 0.85
_sqlite3_stepFunction · 0.85
_sqlite3_finalizeFunction · 0.85
_pragmaVtabCursorClearFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…