MCPcopy Index your code
hub / github.com/sql-js/sql.js / _compileoptionusedFunc

Function _compileoptionusedFunc

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

Source from the content-addressed store, hash-verified

23778 }
23779}
23780function _compileoptionusedFunc($0,$1,$2) {
23781 $0 = $0|0;
23782 $1 = $1|0;
23783 $2 = $2|0;
23784 var $$0$i$i = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
23785 var $29 = 0, $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
23786 sp = STACKTOP;
23787 $3 = HEAP32[$2>>2]|0;
23788 $4 = ($3|0)==(0|0);
23789 if ($4) {
23790 return;
23791 }
23792 $5 = ((($3)) + 8|0);
23793 $6 = HEAP16[$5>>1]|0;
23794 $7 = $6&65535;
23795 $8 = $7 & 514;
23796 $9 = ($8|0)==(514);
23797 if ($9) {
23798 $10 = ((($3)) + 10|0);
23799 $11 = HEAP8[$10>>0]|0;
23800 $12 = ($11<<24>>24)==(1);
23801 if ($12) {
23802 $13 = ((($3)) + 16|0);
23803 $14 = HEAP32[$13>>2]|0;
23804 $$0$i$i = $14;
23805 } else {
23806 label = 5;
23807 }
23808 } else {
23809 label = 5;
23810 }
23811 do {
23812 if ((label|0) == 5) {
23813 $15 = $7 & 1;
23814 $16 = ($15|0)==(0);
23815 if ($16) {
23816 $17 = (_valueToText($3,1)|0);
23817 $$0$i$i = $17;
23818 break;
23819 } else {
23820 return;
23821 }
23822 }
23823 } while(0);
23824 $18 = ($$0$i$i|0)==(0|0);
23825 if ($18) {
23826 return;
23827 }
23828 $19 = (_sqlite3_compileoption_used($$0$i$i)|0);
23829 $20 = HEAP32[$0>>2]|0;
23830 $21 = ($19|0)<(0);
23831 $22 = $21 << 31 >> 31;
23832 $23 = ((($20)) + 8|0);
23833 $24 = HEAP16[$23>>1]|0;
23834 $25 = $24 & 9312;
23835 $26 = ($25<<16>>16)==(0);
23836 if ($26) {
23837 $27 = $20;

Callers

nothing calls this directly

Calls 3

_valueToTextFunction · 0.85
_vdbeReleaseAndSetInt64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…