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

Function _vdbeClrCopy

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

Source from the content-addressed store, hash-verified

304264 return (0)|0;
304265}
304266function _vdbeClrCopy($0,$1,$2) {
304267 $0 = $0|0;
304268 $1 = $1|0;
304269 $2 = $2|0;
304270 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
304271 sp = STACKTOP;
304272 $3 = ((($0)) + 8|0);
304273 while(1) {
304274 _vdbeMemClearExternAndSetNull($0);
304275 $4 = HEAP16[$3>>1]|0;
304276 $5 = $4 & 9312;
304277 $6 = ($5<<16>>16)==(0);
304278 if ($6) {
304279 break;
304280 }
304281 }
304282 ;HEAP32[$0>>2]=HEAP32[$1>>2]|0;HEAP32[$0+4>>2]=HEAP32[$1+4>>2]|0;HEAP32[$0+8>>2]=HEAP32[$1+8>>2]|0;HEAP32[$0+12>>2]=HEAP32[$1+12>>2]|0;HEAP32[$0+16>>2]=HEAP32[$1+16>>2]|0;
304283 $7 = ((($1)) + 8|0);
304284 $8 = HEAP16[$7>>1]|0;
304285 $9 = $8 & 2048;
304286 $10 = ($9<<16>>16)==(0);
304287 if (!($10)) {
304288 return;
304289 }
304290 $11 = HEAP16[$3>>1]|0;
304291 $12 = $11 & -7169;
304292 $13 = $12&65535;
304293 $14 = $13 | $2;
304294 $15 = $14&65535;
304295 HEAP16[$3>>1] = $15;
304296 return;
304297}
304298function _computeNumericType($0) {
304299 $0 = $0|0;
304300 var $$ = 0, $$0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;

Callers 1

_sqlite3VdbeExecFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…