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

Function _sqlite3ExprAlloc

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

Source from the content-addressed store, hash-verified

163341 STACKTOP = sp;return ($$0|0);
163342}
163343function _sqlite3ExprAlloc($0,$1,$2,$3) {
163344 $0 = $0|0;
163345 $1 = $1|0;
163346 $2 = $2|0;
163347 $3 = $3|0;
163348 var $$$i = 0, $$0 = 0, $$0$i = 0, $$0$i32 = 0, $$021$i = 0, $$1$i = 0, $$122$i = 0, $$pre = 0, $$sink4$i = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0;
163349 var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
163350 var $40 = 0, $41 = 0, $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;
163351 var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
163352 var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, dest = 0, label = 0, sp = 0;
163353 var stop = 0;
163354 sp = STACKTOP;
163355 STACKTOP = STACKTOP + 16|0;
163356 $4 = sp;
163357 HEAP32[$4>>2] = 0;
163358 $5 = ($2|0)!=(0|0);
163359 do {
163360 if ($5) {
163361 $6 = ($1|0)==(134);
163362 if ($6) {
163363 $7 = HEAP32[$2>>2]|0;
163364 $8 = ($7|0)==(0|0);
163365 if (!($8)) {
163366 $9 = (_sqlite3GetInt32($7,$4)|0);
163367 $10 = ($9|0)==(0);
163368 if (!($10)) {
163369 $$0 = 0;
163370 break;
163371 }
163372 }
163373 }
163374 $11 = ((($2)) + 4|0);
163375 $12 = HEAP32[$11>>2]|0;
163376 $13 = (($12) + 1)|0;
163377 $$0 = $13;
163378 } else {
163379 $$0 = 0;
163380 }
163381 } while(0);
163382 $14 = (($$0) + 48)|0;
163383 $15 = ((($0)) + 264|0);
163384 $16 = HEAP32[$15>>2]|0;
163385 $17 = ($16|0)==(0);
163386 do {
163387 if ($17) {
163388 $18 = ((($0)) + 268|0);
163389 $19 = HEAP16[$18>>1]|0;
163390 $20 = $19&65535;
163391 $21 = (0)<(0);
163392 $22 = ($20>>>0)<($14>>>0);
163393 $23 = (0)==(0);
163394 $24 = $23 & $22;
163395 $25 = $21 | $24;
163396 if ($25) {
163397 $$sink4$i = 1;
163398 } else {
163399 $26 = ((($0)) + 292|0);
163400 $27 = HEAP32[$26>>2]|0;

Callers 15

_yy_reduceFunction · 0.85
_sqlite3EndTableFunction · 0.85
_sqlite3CreateIndexFunction · 0.85
_sqlite3SelectNewFunction · 0.85
_selectExpanderFunction · 0.85
_resolveSelectStepFunction · 0.85
_resolveAliasFunction · 0.85
_sqlite3ExprAndFunction · 0.85
_sqlite3CodeSubselectFunction · 0.85
_fkScanChildrenFunction · 0.85
_exprTableRegisterFunction · 0.85

Calls 3

_sqlite3GetInt32Function · 0.85
_dbMallocRawFinishFunction · 0.85
_memcpyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…