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

Function _last_insert_rowid

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

Source from the content-addressed store, hash-verified

27339 }
27340}
27341function _last_insert_rowid($0,$1,$2) {
27342 $0 = $0|0;
27343 $1 = $1|0;
27344 $2 = $2|0;
27345 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
27346 sp = STACKTOP;
27347 $3 = HEAP32[$0>>2]|0;
27348 $4 = ((($3)) + 32|0);
27349 $5 = HEAP32[$4>>2]|0;
27350 $6 = ((($5)) + 32|0);
27351 $7 = $6;
27352 $8 = $7;
27353 $9 = HEAP32[$8>>2]|0;
27354 $10 = (($7) + 4)|0;
27355 $11 = $10;
27356 $12 = HEAP32[$11>>2]|0;
27357 $13 = ((($3)) + 8|0);
27358 $14 = HEAP16[$13>>1]|0;
27359 $15 = $14 & 9312;
27360 $16 = ($15<<16>>16)==(0);
27361 if ($16) {
27362 $17 = $3;
27363 $18 = $17;
27364 HEAP32[$18>>2] = $9;
27365 $19 = (($17) + 4)|0;
27366 $20 = $19;
27367 HEAP32[$20>>2] = $12;
27368 HEAP16[$13>>1] = 4;
27369 return;
27370 } else {
27371 _vdbeReleaseAndSetInt64($3,$9,$12);
27372 return;
27373 }
27374}
27375function _changes($0,$1,$2) {
27376 $0 = $0|0;
27377 $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…