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

Function _sqlite3StrICmp

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

Source from the content-addressed store, hash-verified

283632 STACKTOP = sp;return ($$0|0);
283633}
283634function _sqlite3StrICmp($0,$1) {
283635 $0 = $0|0;
283636 $1 = $1|0;
283637 var $$01315 = 0, $$016 = 0, $$lcssa = 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;
283638 var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond14 = 0, label = 0, sp = 0;
283639 sp = STACKTOP;
283640 $2 = HEAP8[$0>>0]|0;
283641 $3 = $2&255;
283642 $4 = (17324 + ($3)|0);
283643 $5 = HEAP8[$4>>0]|0;
283644 $6 = $5&255;
283645 $7 = HEAP8[$1>>0]|0;
283646 $8 = $7&255;
283647 $9 = (17324 + ($8)|0);
283648 $10 = HEAP8[$9>>0]|0;
283649 $11 = $10&255;
283650 $12 = (($6) - ($11))|0;
283651 $13 = ($12|0)!=(0);
283652 $14 = ($2<<24>>24)==(0);
283653 $or$cond14 = $14 | $13;
283654 if ($or$cond14) {
283655 $$lcssa = $12;
283656 return ($$lcssa|0);
283657 } else {
283658 $$01315 = $1;$$016 = $0;
283659 }
283660 while(1) {
283661 $15 = ((($$016)) + 1|0);
283662 $16 = ((($$01315)) + 1|0);
283663 $17 = HEAP8[$15>>0]|0;
283664 $18 = $17&255;
283665 $19 = (17324 + ($18)|0);
283666 $20 = HEAP8[$19>>0]|0;
283667 $21 = $20&255;
283668 $22 = HEAP8[$16>>0]|0;
283669 $23 = $22&255;
283670 $24 = (17324 + ($23)|0);
283671 $25 = HEAP8[$24>>0]|0;
283672 $26 = $25&255;
283673 $27 = (($21) - ($26))|0;
283674 $28 = ($27|0)!=(0);
283675 $29 = ($17<<24>>24)==(0);
283676 $or$cond = $29 | $28;
283677 if ($or$cond) {
283678 $$lcssa = $27;
283679 break;
283680 } else {
283681 $$01315 = $16;$$016 = $15;
283682 }
283683 }
283684 return ($$lcssa|0);
283685}
283686function _checkConstraintExprNode($0,$1) {
283687 $0 = $0|0;
283688 $1 = $1|0;

Callers 1

_fkParentIsModifiedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…