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

Function _porterDestroy

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

Source from the content-addressed store, hash-verified

383571 return ($$0|0);
383572}
383573function _porterDestroy($0) {
383574 $0 = $0|0;
383575 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;
383576 sp = STACKTOP;
383577 $1 = ($0|0)==(0|0);
383578 if ($1) {
383579 return 0;
383580 }
383581 $2 = HEAP32[2]|0;
383582 $3 = ($2|0)==(0);
383583 if ($3) {
383584 $11 = HEAP32[(56)>>2]|0;
383585 FUNCTION_TABLE_vi[$11 & 255]($0);
383586 return 0;
383587 } else {
383588 $4 = HEAP32[(64)>>2]|0;
383589 $5 = (FUNCTION_TABLE_ii[$4 & 255]($0)|0);
383590 $6 = HEAP32[11822]|0;
383591 $7 = (($6) - ($5))|0;
383592 HEAP32[11822] = $7;
383593 $8 = HEAP32[11825]|0;
383594 $9 = (($8) + -1)|0;
383595 HEAP32[11825] = $9;
383596 $10 = HEAP32[(56)>>2]|0;
383597 FUNCTION_TABLE_vi[$10 & 255]($0);
383598 return 0;
383599 }
383600 return (0)|0;
383601}
383602function _porterOpen($0,$1,$2,$3) {
383603 $0 = $0|0;
383604 $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…