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

Function _exprSrcCount

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

Source from the content-addressed store, hash-verified

215798 return ($$1|0);
215799}
215800function _exprSrcCount($0,$1) {
215801 $0 = $0|0;
215802 $1 = $1|0;
215803 var $$023 = 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, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
215804 var label = 0, sp = 0;
215805 sp = STACKTOP;
215806 $2 = HEAP8[$1>>0]|0;
215807 switch ($2<<24>>24) {
215808 case -109: case -111: {
215809 break;
215810 }
215811 default: {
215812 return 0;
215813 }
215814 }
215815 $3 = ((($0)) + 24|0);
215816 $4 = HEAP32[$3>>2]|0;
215817 $5 = HEAP32[$4>>2]|0;
215818 $6 = ($5|0)==(0|0);
215819 L4: do {
215820 if ($6) {
215821 label = 7;
215822 } else {
215823 $7 = HEAP32[$5>>2]|0;
215824 $8 = ($7|0)>(0);
215825 if ($8) {
215826 $9 = ((($1)) + 28|0);
215827 $10 = HEAP32[$9>>2]|0;
215828 $$023 = 0;
215829 while(1) {
215830 $13 = (((((($5)) + 8|0) + (($$023*72)|0)|0)) + 44|0);
215831 $14 = HEAP32[$13>>2]|0;
215832 $15 = ($10|0)==($14|0);
215833 $11 = (($$023) + 1)|0;
215834 if ($15) {
215835 break;
215836 }
215837 $12 = ($11|0)<($7|0);
215838 if ($12) {
215839 $$023 = $11;
215840 } else {
215841 label = 7;
215842 break L4;
215843 }
215844 }
215845 $17 = ((($4)) + 4|0);
215846 $19 = $17;
215847 } else {
215848 label = 7;
215849 }
215850 }
215851 } while(0);
215852 if ((label|0) == 7) {
215853 $16 = ((($4)) + 8|0);
215854 $19 = $16;
215855 }
215856 $18 = HEAP32[$19>>2]|0;
215857 $20 = (($18) + 1)|0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…