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

Function _sqlite3_bind_int

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

Source from the content-addressed store, hash-verified

322334 STACKTOP = sp;return ($5|0);
322335}
322336function _sqlite3_bind_int($0,$1,$2) {
322337 $0 = $0|0;
322338 $1 = $1|0;
322339 $2 = $2|0;
322340 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
322341 sp = STACKTOP;
322342 $3 = ($2|0)<(0);
322343 $4 = $3 << 31 >> 31;
322344 $5 = (_vdbeUnbind($0,$1)|0);
322345 $6 = ($5|0)==(0);
322346 if (!($6)) {
322347 return ($5|0);
322348 }
322349 $7 = ((($0)) + 116|0);
322350 $8 = HEAP32[$7>>2]|0;
322351 $9 = (($1) + -1)|0;
322352 $10 = (($8) + (($9*40)|0)|0);
322353 $11 = (((($8) + (($9*40)|0)|0)) + 8|0);
322354 $12 = HEAP16[$11>>1]|0;
322355 $13 = $12 & 9312;
322356 $14 = ($13<<16>>16)==(0);
322357 if ($14) {
322358 $15 = $10;
322359 $16 = $15;
322360 HEAP32[$16>>2] = $2;
322361 $17 = (($15) + 4)|0;
322362 $18 = $17;
322363 HEAP32[$18>>2] = $4;
322364 HEAP16[$11>>1] = 4;
322365 return ($5|0);
322366 } else {
322367 _vdbeReleaseAndSetInt64($10,$2,$4);
322368 return ($5|0);
322369 }
322370 return (0)|0;
322371}
322372function _sqlite3_bind_text($0,$1,$2,$3,$4) {
322373 $0 = $0|0;
322374 $1 = $1|0;

Callers

nothing calls this directly

Calls 2

_vdbeUnbindFunction · 0.85
_vdbeReleaseAndSetInt64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…