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

Function _sqlite3VtabDisconnect

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

Source from the content-addressed store, hash-verified

325434 STACKTOP = sp;return ($$0|0);
325435}
325436function _sqlite3VtabDisconnect($0,$1) {
325437 $0 = $0|0;
325438 $1 = $1|0;
325439 var $$0 = 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, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
325440 var $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, $40 = 0, $41 = 0, $42 = 0, $5 = 0, $6 = 0, $7 = 0;
325441 var $8 = 0, $9 = 0, label = 0, sp = 0;
325442 sp = STACKTOP;
325443 $2 = ((($1)) + 64|0);
325444 $$0 = $2;
325445 while(1) {
325446 $3 = HEAP32[$$0>>2]|0;
325447 $4 = ($3|0)==(0|0);
325448 if ($4) {
325449 label = 16;
325450 break;
325451 }
325452 $5 = HEAP32[$3>>2]|0;
325453 $6 = ($5|0)==($0|0);
325454 $7 = ((($3)) + 24|0);
325455 if ($6) {
325456 break;
325457 } else {
325458 $$0 = $7;
325459 }
325460 }
325461 if ((label|0) == 16) {
325462 return;
325463 }
325464 $8 = HEAP32[$7>>2]|0;
325465 HEAP32[$$0>>2] = $8;
325466 $9 = HEAP32[$3>>2]|0;
325467 $10 = ((($3)) + 12|0);
325468 $11 = HEAP32[$10>>2]|0;
325469 $12 = (($11) + -1)|0;
325470 HEAP32[$10>>2] = $12;
325471 $13 = ($12|0)==(0);
325472 if (!($13)) {
325473 return;
325474 }
325475 $14 = ((($3)) + 8|0);
325476 $15 = HEAP32[$14>>2]|0;
325477 $16 = ($15|0)==(0|0);
325478 if (!($16)) {
325479 $17 = HEAP32[$15>>2]|0;
325480 $18 = ((($17)) + 16|0);
325481 $19 = HEAP32[$18>>2]|0;
325482 (FUNCTION_TABLE_ii[$19 & 255]($15)|0);
325483 }
325484 $20 = ($9|0)==(0|0);
325485 if (!($20)) {
325486 $21 = ((($9)) + 464|0);
325487 $22 = HEAP32[$21>>2]|0;
325488 $23 = ($22|0)==(0|0);
325489 if (!($23)) {
325490 _measureAllocationSize($9,$3);
325491 return;
325492 }
325493 $24 = $3;

Callers 1

_sqlite3CloseFunction · 0.85

Calls 1

_measureAllocationSizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…