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

Function _sqlite3_clear_bindings

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

Source from the content-addressed store, hash-verified

86100 return (0)|0;
86101}
86102function _sqlite3_clear_bindings($0) {
86103 $0 = $0|0;
86104 var $$014 = 0, $$pre = 0, $$pre15 = 0, $$pre16 = 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;
86105 var $24 = 0, $25 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
86106 sp = STACKTOP;
86107 $1 = ((($0)) + 16|0);
86108 $2 = HEAP16[$1>>1]|0;
86109 $3 = ($2<<16>>16)>(0);
86110 if ($3) {
86111 $4 = ((($0)) + 116|0);
86112 $$pre = HEAP32[$4>>2]|0;
86113 $$014 = 0;$26 = $2;$6 = $$pre;
86114 while(1) {
86115 $5 = (($6) + (($$014*40)|0)|0);
86116 $7 = (((($6) + (($$014*40)|0)|0)) + 8|0);
86117 $8 = HEAP16[$7>>1]|0;
86118 $9 = $8 & 9312;
86119 $10 = ($9<<16>>16)==(0);
86120 if ($10) {
86121 $11 = (((($6) + (($$014*40)|0)|0)) + 24|0);
86122 $12 = HEAP32[$11>>2]|0;
86123 $13 = ($12|0)==(0);
86124 if ($13) {
86125 $15 = $6;$18 = $26;
86126 } else {
86127 label = 5;
86128 }
86129 } else {
86130 label = 5;
86131 }
86132 if ((label|0) == 5) {
86133 label = 0;
86134 _vdbeMemClear($5);
86135 $$pre15 = HEAP32[$4>>2]|0;
86136 $$pre16 = HEAP16[$1>>1]|0;
86137 $15 = $$pre15;$18 = $$pre16;
86138 }
86139 $14 = (((($15) + (($$014*40)|0)|0)) + 8|0);
86140 HEAP16[$14>>1] = 1;
86141 $16 = (($$014) + 1)|0;
86142 $17 = $18 << 16 >> 16;
86143 $19 = ($16|0)<($17|0);
86144 if ($19) {
86145 $$014 = $16;$26 = $18;$6 = $15;
86146 } else {
86147 break;
86148 }
86149 }
86150 }
86151 $20 = ((($0)) + 204|0);
86152 $21 = HEAP32[$20>>2]|0;
86153 $22 = ($21|0)==(0);
86154 if ($22) {
86155 return 0;
86156 }
86157 $23 = ((($0)) + 145|0);
86158 $24 = HEAPU8[$23>>0]|(HEAPU8[$23+1>>0]<<8);
86159 $25 = $24 | 1;

Callers

nothing calls this directly

Calls 1

_vdbeMemClearFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…