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

Function _pragmaVtabDisconnect

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

Source from the content-addressed store, hash-verified

242633 STACKTOP = sp;return 0;
242634}
242635function _pragmaVtabDisconnect($0) {
242636 $0 = $0|0;
242637 var $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
242638 sp = STACKTOP;
242639 $1 = ($0|0)==(0|0);
242640 if ($1) {
242641 return 0;
242642 }
242643 $2 = HEAP32[2]|0;
242644 $3 = ($2|0)==(0);
242645 if ($3) {
242646 $11 = HEAP32[(56)>>2]|0;
242647 FUNCTION_TABLE_vi[$11 & 255]($0);
242648 return 0;
242649 } else {
242650 $4 = HEAP32[(64)>>2]|0;
242651 $5 = (FUNCTION_TABLE_ii[$4 & 255]($0)|0);
242652 $6 = HEAP32[11822]|0;
242653 $7 = (($6) - ($5))|0;
242654 HEAP32[11822] = $7;
242655 $8 = HEAP32[11825]|0;
242656 $9 = (($8) + -1)|0;
242657 HEAP32[11825] = $9;
242658 $10 = HEAP32[(56)>>2]|0;
242659 FUNCTION_TABLE_vi[$10 & 255]($0);
242660 return 0;
242661 }
242662 return (0)|0;
242663}
242664function _pragmaVtabOpen($0,$1) {
242665 $0 = $0|0;
242666 $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…