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

Function _vdbeMemClearExternAndSetNull

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

Source from the content-addressed store, hash-verified

31343 return;
31344}
31345function _vdbeMemClearExternAndSetNull($0) {
31346 $0 = $0|0;
31347 var $$in15$i = 0, $$pre = 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, $24 = 0, $25 = 0;
31348 var $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, $42 = 0, $43 = 0;
31349 var $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, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
31350 var sp = 0;
31351 sp = STACKTOP;
31352 $1 = ((($0)) + 8|0);
31353 $2 = HEAP16[$1>>1]|0;
31354 $3 = $2 & 8192;
31355 $4 = ($3<<16>>16)==(0);
31356 if ($4) {
31357 $7 = $2;
31358 } else {
31359 $5 = HEAP32[$0>>2]|0;
31360 (_sqlite3VdbeMemFinalize($0,$5)|0);
31361 $$pre = HEAP16[$1>>1]|0;
31362 $7 = $$pre;
31363 }
31364 $6 = $7&65535;
31365 $8 = $6 & 1024;
31366 $9 = ($8|0)==(0);
31367 if (!($9)) {
31368 $10 = ((($0)) + 36|0);
31369 $11 = HEAP32[$10>>2]|0;
31370 $12 = ((($0)) + 16|0);
31371 $13 = HEAP32[$12>>2]|0;
31372 FUNCTION_TABLE_vi[$11 & 255]($13);
31373 HEAP16[$1>>1] = 1;
31374 return;
31375 }
31376 $14 = $6 & 32;
31377 $15 = ($14|0)==(0);
31378 if ($15) {
31379 $51 = $6 & 64;
31380 $52 = ($51|0)==(0);
31381 if ($52) {
31382 HEAP16[$1>>1] = 1;
31383 return;
31384 }
31385 $53 = HEAP32[$0>>2]|0;
31386 $54 = HEAP32[$53>>2]|0;
31387 $55 = ((($54)) + 196|0);
31388 $56 = HEAP32[$55>>2]|0;
31389 $57 = ((($53)) + 4|0);
31390 HEAP32[$57>>2] = $56;
31391 HEAP32[$55>>2] = $53;
31392 HEAP16[$1>>1] = 1;
31393 return;
31394 }
31395 $16 = HEAP32[$0>>2]|0;
31396 $17 = HEAP32[$16>>2]|0;
31397 $18 = ($17|0)==(0|0);
31398 if (!($18)) {
31399 $19 = ((($16)) + 4|0);
31400 $$in15$i = $17;
31401 while(1) {
31402 $20 = HEAP32[$$in15$i>>2]|0;

Callers 15

_minmaxStepFunction · 0.85
_lengthFuncFunction · 0.85
_charFuncFunction · 0.85
_absFuncFunction · 0.85
_roundFuncFunction · 0.85
_replaceFuncFunction · 0.85
_sumFinalizeFunction · 0.85
_totalFinalizeFunction · 0.85
_avgFinalizeFunction · 0.85
_groupConcatFinalizeFunction · 0.85
_sqlite3VdbeMemSetStrFunction · 0.85
_vdbeReleaseAndSetInt64Function · 0.85

Calls 2

_sqlite3VdbeMemFinalizeFunction · 0.85
_measureAllocationSizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…