MCPcopy Index your code
hub / github.com/sql-js/sql.js / _pcache1Shrink

Function _pcache1Shrink

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

Source from the content-addressed store, hash-verified

22705 }
22706}
22707function _pcache1Shrink($0) {
22708 $0 = $0|0;
22709 var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
22710 sp = STACKTOP;
22711 $1 = ((($0)) + 20|0);
22712 $2 = HEAP32[$1>>2]|0;
22713 $3 = ($2|0)==(0);
22714 if ($3) {
22715 return;
22716 }
22717 $4 = HEAP32[$0>>2]|0;
22718 $5 = ((($4)) + 4|0);
22719 $6 = HEAP32[$5>>2]|0;
22720 HEAP32[$5>>2] = 0;
22721 _pcache1EnforceMaxPage($0);
22722 HEAP32[$5>>2] = $6;
22723 return;
22724}
22725function _pcache1EnforceMaxPage($0) {
22726 $0 = $0|0;
22727 var $1 = 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;

Callers

nothing calls this directly

Calls 1

_pcache1EnforceMaxPageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…