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

Function _sqlite3BitvecDestroy

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

Source from the content-addressed store, hash-verified

52327 STACKTOP = sp;return ($$0|0);
52328}
52329function _sqlite3BitvecDestroy($0) {
52330 $0 = $0|0;
52331 var $$07 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $exitcond = 0;
52332 var label = 0, sp = 0;
52333 sp = STACKTOP;
52334 $1 = ($0|0)==(0|0);
52335 if ($1) {
52336 return;
52337 }
52338 $2 = ((($0)) + 8|0);
52339 $3 = HEAP32[$2>>2]|0;
52340 $4 = ($3|0)==(0);
52341 if (!($4)) {
52342 $5 = ((($0)) + 12|0);
52343 $$07 = 0;
52344 while(1) {
52345 $6 = (($5) + ($$07<<2)|0);
52346 $7 = HEAP32[$6>>2]|0;
52347 _sqlite3BitvecDestroy($7);
52348 $8 = (($$07) + 1)|0;
52349 $exitcond = ($8|0)==(125);
52350 if ($exitcond) {
52351 break;
52352 } else {
52353 $$07 = $8;
52354 }
52355 }
52356 }
52357 $9 = HEAP32[2]|0;
52358 $10 = ($9|0)==(0);
52359 if ($10) {
52360 $18 = HEAP32[(56)>>2]|0;
52361 FUNCTION_TABLE_vi[$18 & 255]($0);
52362 return;
52363 } else {
52364 $11 = HEAP32[(64)>>2]|0;
52365 $12 = (FUNCTION_TABLE_ii[$11 & 255]($0)|0);
52366 $13 = HEAP32[11822]|0;
52367 $14 = (($13) - ($12))|0;
52368 HEAP32[11822] = $14;
52369 $15 = HEAP32[11825]|0;
52370 $16 = (($15) + -1)|0;
52371 HEAP32[11825] = $16;
52372 $17 = HEAP32[(56)>>2]|0;
52373 FUNCTION_TABLE_vi[$17 & 255]($0);
52374 return;
52375 }
52376 $54 = HEAP32[$next>>2]|0;
52377 $55 = HEAP32[$3>>2]|0;
52378 HEAP32[$55>>2] = $54;
52379 $56 = HEAP32[$2>>2]|0;
52380 $57 = ($56|0)!=(0|0);
52381 $58 = HEAP32[$pPage>>2]|0;
52382 if ($57) {
52383 $59 = HEAP32[$2>>2]|0;
52384 HEAP32[$59>>2] = $58;
52385 $60 = HEAP32[$rc>>2]|0;
52386 $61 = ($60|0)==(101);

Callers 7

_pager_unlockFunction · 0.85
_pager_end_transactionFunction · 0.85
_sqlite3PagerSavepointFunction · 0.85
_btreeGetHasContentFunction · 0.85
_pager_writeFunction · 0.85
_sqlite3BtreeRollbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…