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

Function _sqlite3ExprImpliesExpr

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

Source from the content-addressed store, hash-verified

282321 return (0)|0;
282322}
282323function _sqlite3ExprImpliesExpr($0,$1,$2,$3) {
282324 $0 = $0|0;
282325 $1 = $1|0;
282326 $2 = $2|0;
282327 $3 = $3|0;
282328 var $$0$lcssa$i = 0, $$04$i = 0, $$1 = 0, $$pr = 0, $$sink$i = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
282329 var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $not$ = 0, label = 0;
282330 var sp = 0;
282331 sp = STACKTOP;
282332 $4 = (_sqlite3ExprCompare($0,$1,$2,$3)|0);
282333 $5 = ($4|0)==(0);
282334 if ($5) {
282335 $$1 = 1;
282336 return ($$1|0);
282337 }
282338 $6 = HEAP8[$2>>0]|0;
282339 $7 = ($6<<24>>24)==(43);
282340 do {
282341 if ($7) {
282342 $8 = ((($2)) + 12|0);
282343 $9 = HEAP32[$8>>2]|0;
282344 $10 = (_sqlite3ExprImpliesExpr($0,$1,$9,$3)|0);
282345 $11 = ($10|0)==(0);
282346 if (!($11)) {
282347 $$1 = 1;
282348 return ($$1|0);
282349 }
282350 $12 = ((($2)) + 16|0);
282351 $13 = HEAP32[$12>>2]|0;
282352 $14 = (_sqlite3ExprImpliesExpr($0,$1,$13,$3)|0);
282353 $15 = ($14|0)==(0);
282354 if ($15) {
282355 $$pr = HEAP8[$2>>0]|0;
282356 $16 = $$pr;
282357 break;
282358 } else {
282359 $$1 = 1;
282360 return ($$1|0);
282361 }
282362 } else {
282363 $16 = $6;
282364 }
282365 } while(0);
282366 $17 = ($16<<24>>24)==(51);
282367 L13: do {
282368 if ($17) {
282369 $18 = HEAP8[$1>>0]|0;
282370 switch ($18<<24>>24) {
282371 case 45: case 50: {
282372 break L13;
282373 break;
282374 }
282375 default: {
282376 }
282377 }
282378 $19 = ((($1)) + 12|0);
282379 $20 = HEAP32[$19>>2]|0;
282380 $21 = ($20|0)==(0|0);

Callers 1

_whereUsablePartialIndexFunction · 0.85

Calls 1

_sqlite3ExprCompareFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…