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

Function _fkParentIsModified

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

Source from the content-addressed store, hash-verified

251741 }
251742}
251743function _fkParentIsModified($0,$1,$2,$3) {
251744 $0 = $0|0;
251745 $1 = $1|0;
251746 $2 = $2|0;
251747 $3 = $3|0;
251748 var $$03137 = 0, $$03137$us = 0, $$03137$us$us = 0, $$03137$us39 = 0, $$03241 = 0, $$5 = 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;
251749 var $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, $40 = 0, $41 = 0, $42 = 0;
251750 var $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, $60 = 0;
251751 var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
251752 sp = STACKTOP;
251753 $4 = ((($1)) + 20|0);
251754 $5 = HEAP32[$4>>2]|0;
251755 $6 = ($5|0)>(0);
251756 if (!($6)) {
251757 $$5 = 0;
251758 return ($$5|0);
251759 }
251760 $7 = ((($0)) + 42|0);
251761 $8 = HEAP16[$7>>1]|0;
251762 $9 = ($8<<16>>16)>(0);
251763 $10 = ((($0)) + 4|0);
251764 $11 = ((($0)) + 40|0);
251765 $12 = ($3|0)==(0);
251766 $13 = $8 << 16 >> 16;
251767 $14 = $8 << 16 >> 16;
251768 $15 = $8 << 16 >> 16;
251769 $16 = $8 << 16 >> 16;
251770 $$03241 = 0;
251771 L4: while(1) {
251772 $17 = (((((($1)) + 36|0) + ($$03241<<3)|0)) + 4|0);
251773 $18 = HEAP32[$17>>2]|0;
251774 L6: do {
251775 if ($9) {
251776 $19 = ($18|0)==(0|0);
251777 if ($12) {
251778 if ($19) {
251779 $$03137$us39 = 0;
251780 while(1) {
251781 $46 = (($2) + ($$03137$us39<<2)|0);
251782 $47 = HEAP32[$46>>2]|0;
251783 $48 = ($47|0)>(-1);
251784 if ($48) {
251785 $49 = HEAP32[$10>>2]|0;
251786 $50 = (((($49) + ($$03137$us39<<4)|0)) + 15|0);
251787 $51 = HEAP8[$50>>0]|0;
251788 $52 = $51 & 1;
251789 $53 = ($52<<24>>24)==(0);
251790 if (!($53)) {
251791 $$5 = 1;
251792 label = 22;
251793 break L4;
251794 }
251795 }
251796 $54 = (($$03137$us39) + 1)|0;
251797 $55 = ($54|0)<($13|0);
251798 if ($55) {
251799 $$03137$us39 = $54;
251800 } else {

Callers 3

_sqlite3UpdateFunction · 0.85
_sqlite3FkCheckFunction · 0.85
_sqlite3FkActionsFunction · 0.85

Calls 1

_sqlite3StrICmpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…