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

Function _exprNodeIsConstant

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

Source from the content-addressed store, hash-verified

228940 return (0)|0;
228941}
228942function _exprNodeIsConstant($0,$1) {
228943 $0 = $0|0;
228944 $1 = $1|0;
228945 var $$0 = 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;
228946 var label = 0, sp = 0;
228947 sp = STACKTOP;
228948 $2 = ((($0)) + 20|0);
228949 $3 = HEAP8[$2>>0]|0;
228950 $4 = ($3<<24>>24)==(2);
228951 if ($4) {
228952 $5 = ((($1)) + 4|0);
228953 $6 = HEAP32[$5>>2]|0;
228954 $7 = $6 & 1;
228955 $8 = ($7|0)==(0);
228956 if ($8) {
228957 label = 4;
228958 } else {
228959 HEAP8[$2>>0] = 0;
228960 $$0 = 2;
228961 }
228962 } else {
228963 label = 4;
228964 }
228965 L4: do {
228966 if ((label|0) == 4) {
228967 $9 = HEAP8[$1>>0]|0;
228968 switch ($9<<24>>24) {
228969 case -112: {
228970 $10 = ($3&255)>(3);
228971 if ($10) {
228972 $$0 = 0;
228973 break L4;
228974 }
228975 $11 = ((($1)) + 4|0);
228976 $12 = HEAP32[$11>>2]|0;
228977 $13 = $12 & 524288;
228978 $14 = ($13|0)==(0);
228979 if (!($14)) {
228980 $$0 = 0;
228981 break L4;
228982 }
228983 HEAP8[$2>>0] = 0;
228984 $$0 = 2;
228985 break L4;
228986 break;
228987 }
228988 case -109: case -110: case -111: case 59: {
228989 $15 = ($3<<24>>24)==(3);
228990 if ($15) {
228991 $16 = ((($1)) + 28|0);
228992 $17 = HEAP32[$16>>2]|0;
228993 $18 = ((($0)) + 24|0);
228994 $19 = HEAP32[$18>>2]|0;
228995 $20 = ($17|0)==($19|0);
228996 if ($20) {
228997 $$0 = 0;
228998 break L4;
228999 }

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…