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

Function _dupedExprSize

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

Source from the content-addressed store, hash-verified

241997 STACKTOP = sp;return ($$09|0);
241998}
241999function _dupedExprSize($0,$1) {
242000 $0 = $0|0;
242001 $1 = $1|0;
242002 var $$$i$i = 0, $$0 = 0, $$0$i = 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;
242003 var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
242004 sp = STACKTOP;
242005 $2 = ($0|0)==(0|0);
242006 if ($2) {
242007 $$0 = 0;
242008 return ($$0|0);
242009 }
242010 $3 = ($1|0)==(0);
242011 if ($3) {
242012 $20 = 48;
242013 } else {
242014 $4 = HEAP8[$0>>0]|0;
242015 $5 = ($4<<24>>24)==(-104);
242016 if ($5) {
242017 $20 = 48;
242018 } else {
242019 $6 = ((($0)) + 12|0);
242020 $7 = HEAP32[$6>>2]|0;
242021 $8 = ($7|0)==(0|0);
242022 if ($8) {
242023 $9 = ((($0)) + 20|0);
242024 $10 = HEAP32[$9>>2]|0;
242025 $11 = ($10|0)==(0|0);
242026 $$$i$i = $11 ? 12 : 28;
242027 $20 = $$$i$i;
242028 } else {
242029 $20 = 28;
242030 }
242031 }
242032 }
242033 $12 = ((($0)) + 4|0);
242034 $13 = HEAP32[$12>>2]|0;
242035 $14 = $13 & 1024;
242036 $15 = ($14|0)==(0);
242037 if ($15) {
242038 $16 = ((($0)) + 8|0);
242039 $17 = HEAP32[$16>>2]|0;
242040 $18 = ($17|0)==(0|0);
242041 if ($18) {
242042 $$0$i = $20;
242043 } else {
242044 $19 = $20 | 1;
242045 $21 = (_strlen($17)|0);
242046 $22 = $21 & 1073741823;
242047 $23 = (($22) + ($19))|0;
242048 $$0$i = $23;
242049 }
242050 } else {
242051 $$0$i = $20;
242052 }
242053 $24 = (($$0$i) + 7)|0;
242054 $25 = $24 & -8;
242055 $26 = $1 & 1;
242056 $27 = ($26|0)==(0);

Callers 1

_exprDupFunction · 0.85

Calls 1

_strlenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…