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

Function _versionFunc

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

Source from the content-addressed store, hash-verified

23930 return;
23931}
23932function _versionFunc($0,$1,$2) {
23933 $0 = $0|0;
23934 $1 = $1|0;
23935 $2 = $2|0;
23936 var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
23937 sp = STACKTOP;
23938 $3 = HEAP32[$0>>2]|0;
23939 $4 = (_sqlite3VdbeMemSetStr($3,16993,-1,1,0)|0);
23940 $5 = ($4|0)==(18);
23941 if (!($5)) {
23942 return;
23943 }
23944 $6 = ((($0)) + 20|0);
23945 HEAP32[$6>>2] = 18;
23946 $7 = ((($0)) + 25|0);
23947 HEAP8[$7>>0] = 1;
23948 $8 = HEAP32[$0>>2]|0;
23949 (_sqlite3VdbeMemSetStr($8,18992,-1,1,0)|0);
23950 return;
23951}
23952function _trimFunc($0,$1,$2) {
23953 $0 = $0|0;
23954 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_sqlite3VdbeMemSetStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…