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

Function _sqlite3_bind_double

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

Source from the content-addressed store, hash-verified

322294 STACKTOP = sp;return ($$0|0);
322295}
322296function _sqlite3_bind_double($0,$1,$2) {
322297 $0 = $0|0;
322298 $1 = $1|0;
322299 $2 = +$2;
322300 var $$0$$0$$0$$0$$i$i = 0.0, $$0$$0$$0$$0$2$i$i = 0.0, $$0$$0$$0$$0$3$i$i = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
322301 sp = STACKTOP;
322302 STACKTOP = STACKTOP + 16|0;
322303 $3 = sp + 8|0;
322304 $4 = sp;
322305 $5 = (_vdbeUnbind($0,$1)|0);
322306 $6 = ($5|0)==(0);
322307 if (!($6)) {
322308 STACKTOP = sp;return ($5|0);
322309 }
322310 $7 = ((($0)) + 116|0);
322311 $8 = HEAP32[$7>>2]|0;
322312 $9 = (($1) + -1)|0;
322313 $10 = (($8) + (($9*40)|0)|0);
322314 $11 = (((($8) + (($9*40)|0)|0)) + 8|0);
322315 $12 = HEAP16[$11>>1]|0;
322316 $13 = $12 & 9312;
322317 $14 = ($13<<16>>16)==(0);
322318 if ($14) {
322319 HEAP16[$11>>1] = 1;
322320 } else {
322321 _vdbeMemClearExternAndSetNull($10);
322322 }
322323 HEAPF64[$3>>3] = $2;
322324 $$0$$0$$0$$0$2$i$i = +HEAPF64[$3>>3];
322325 HEAPF64[$4>>3] = $$0$$0$$0$$0$2$i$i;
322326 $$0$$0$$0$$0$3$i$i = +HEAPF64[$3>>3];
322327 $$0$$0$$0$$0$$i$i = +HEAPF64[$4>>3];
322328 $15 = $$0$$0$$0$$0$3$i$i != $$0$$0$$0$$0$$i$i;
322329 if ($15) {
322330 STACKTOP = sp;return ($5|0);
322331 }
322332 HEAPF64[$10>>3] = $2;
322333 HEAP16[$11>>1] = 8;
322334 STACKTOP = sp;return ($5|0);
322335}
322336function _sqlite3_bind_int($0,$1,$2) {
322337 $0 = $0|0;
322338 $1 = $1|0;

Callers

nothing calls this directly

Calls 2

_vdbeUnbindFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…