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

Function _pageReinit

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

Source from the content-addressed store, hash-verified

50087 return ($$023|0);
50088}
50089function _pageReinit($0) {
50090 $0 = $0|0;
50091 var $$idx = 0, $$idx$val = 0, $$idx6 = 0, $$idx6$val = 0, $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
50092 sp = STACKTOP;
50093 $$idx = ((($0)) + 8|0);
50094 $$idx$val = HEAP32[$$idx>>2]|0;
50095 $1 = HEAP8[$$idx$val>>0]|0;
50096 $2 = ($1<<24>>24)==(0);
50097 if ($2) {
50098 return;
50099 }
50100 HEAP8[$$idx$val>>0] = 0;
50101 $$idx6 = ((($0)) + 30|0);
50102 $$idx6$val = HEAP16[$$idx6>>1]|0;
50103 $3 = ($$idx6$val<<16>>16)>(1);
50104 if (!($3)) {
50105 return;
50106 }
50107 (_btreeInitPage($$idx$val)|0);
50108 return;
50109}
50110function _getPageError($0,$1,$2,$3) {
50111 $0 = $0|0;
50112 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_btreeInitPageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…