MCPcopy Create free account
hub / github.com/sql-js/sql.js / _sqlite3VdbeMemSetRowSet

Function _sqlite3VdbeMemSetRowSet

js/sql-debug.js:312429–312577  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

312427 STACKTOP = sp;return ($$0|0);
312428}
312429function _sqlite3VdbeMemSetRowSet($0) {
312430 $0 = $0|0;
312431 var $$0$i = 0, $$0$i16 = 0, $$pre = 0, $$sink4$i = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
312432 var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
312433 var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
312434 var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
312435 sp = STACKTOP;
312436 $1 = ((($0)) + 32|0);
312437 $2 = HEAP32[$1>>2]|0;
312438 $3 = ((($0)) + 8|0);
312439 $4 = HEAP16[$3>>1]|0;
312440 $5 = $4 & 9312;
312441 $6 = ($5<<16>>16)==(0);
312442 if ($6) {
312443 $7 = ((($0)) + 24|0);
312444 $8 = HEAP32[$7>>2]|0;
312445 $9 = ($8|0)==(0);
312446 if (!($9)) {
312447 label = 3;
312448 }
312449 } else {
312450 label = 3;
312451 }
312452 if ((label|0) == 3) {
312453 _vdbeMemClear($0);
312454 }
312455 $10 = ((($2)) + 264|0);
312456 $11 = HEAP32[$10>>2]|0;
312457 $12 = ($11|0)==(0);
312458 do {
312459 if ($12) {
312460 $13 = ((($2)) + 268|0);
312461 $14 = HEAP16[$13>>1]|0;
312462 $15 = ($14&65535)<(64);
312463 if ($15) {
312464 $$sink4$i = 1;
312465 } else {
312466 $16 = ((($2)) + 292|0);
312467 $17 = HEAP32[$16>>2]|0;
312468 $18 = ($17|0)==(0|0);
312469 if (!($18)) {
312470 $19 = HEAP32[$17>>2]|0;
312471 HEAP32[$16>>2] = $19;
312472 $20 = ((($2)) + 276|0);
312473 $21 = HEAP32[$20>>2]|0;
312474 $22 = (($21) + 1)|0;
312475 HEAP32[$20>>2] = $22;
312476 $$0$i16 = $17;
312477 break;
312478 }
312479 $23 = ((($2)) + 288|0);
312480 $24 = HEAP32[$23>>2]|0;
312481 $25 = ($24|0)==(0|0);
312482 if ($25) {
312483 $$sink4$i = 2;
312484 } else {
312485 $26 = HEAP32[$24>>2]|0;
312486 HEAP32[$23>>2] = $26;

Callers 1

_sqlite3VdbeExecFunction · 0.85

Calls 2

_vdbeMemClearFunction · 0.85
_dbMallocRawFinishFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…