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

Function _total_changes

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

Source from the content-addressed store, hash-verified

27404 }
27405}
27406function _total_changes($0,$1,$2) {
27407 $0 = $0|0;
27408 $1 = $1|0;
27409 $2 = $2|0;
27410 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
27411 sp = STACKTOP;
27412 $3 = HEAP32[$0>>2]|0;
27413 $4 = ((($3)) + 32|0);
27414 $5 = HEAP32[$4>>2]|0;
27415 $6 = ((($5)) + 96|0);
27416 $7 = HEAP32[$6>>2]|0;
27417 $8 = ($7|0)<(0);
27418 $9 = $8 << 31 >> 31;
27419 $10 = ((($3)) + 8|0);
27420 $11 = HEAP16[$10>>1]|0;
27421 $12 = $11 & 9312;
27422 $13 = ($12<<16>>16)==(0);
27423 if ($13) {
27424 $14 = $3;
27425 $15 = $14;
27426 HEAP32[$15>>2] = $7;
27427 $16 = (($14) + 4)|0;
27428 $17 = $16;
27429 HEAP32[$17>>2] = $9;
27430 HEAP16[$10>>1] = 4;
27431 return;
27432 } else {
27433 _vdbeReleaseAndSetInt64($3,$7,$9);
27434 return;
27435 }
27436}
27437function _replaceFunc($0,$1,$2) {
27438 $0 = $0|0;
27439 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_vdbeReleaseAndSetInt64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…