MCPcopy Create free account
hub / github.com/sql-js/sql.js / _btreeInvokeBusyHandler

Function _btreeInvokeBusyHandler

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

Source from the content-addressed store, hash-verified

50503 STACKTOP = sp;return ($$0|0);
50504}
50505function _btreeInvokeBusyHandler($0) {
50506 $0 = $0|0;
50507 var $$0$i = 0, $$sink$i = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
50508 sp = STACKTOP;
50509 $1 = ((($0)) + 4|0);
50510 $2 = HEAP32[$1>>2]|0;
50511 $3 = ((($2)) + 388|0);
50512 $4 = HEAP32[$3>>2]|0;
50513 $5 = ($4|0)==(0|0);
50514 if ($5) {
50515 $$0$i = 0;
50516 return ($$0$i|0);
50517 }
50518 $6 = ((($2)) + 396|0);
50519 $7 = HEAP32[$6>>2]|0;
50520 $8 = ($7|0)<(0);
50521 if ($8) {
50522 $$0$i = 0;
50523 return ($$0$i|0);
50524 }
50525 $9 = ((($2)) + 392|0);
50526 $10 = HEAP32[$9>>2]|0;
50527 $11 = (FUNCTION_TABLE_iii[$4 & 255]($10,$7)|0);
50528 $12 = ($11|0)==(0);
50529 if ($12) {
50530 $$sink$i = -1;
50531 } else {
50532 $13 = HEAP32[$6>>2]|0;
50533 $14 = (($13) + 1)|0;
50534 $$sink$i = $14;
50535 }
50536 HEAP32[$6>>2] = $$sink$i;
50537 $$0$i = $11;
50538 return ($$0$i|0);
50539}
50540function _sqlite3PagerClose($0,$1) {
50541 $0 = $0|0;
50542 $1 = $1|0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…