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

Function _sqlite3CodeVerifyNamedSchema

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

Source from the content-addressed store, hash-verified

180570 return (0)|0;
180571}
180572function _sqlite3CodeVerifyNamedSchema($0,$1) {
180573 $0 = $0|0;
180574 $1 = $1|0;
180575 var $$01315$i = 0, $$016 = 0, $$016$i = 0, $$016$us = 0, $$lcssa$i = 0, $$pre = 0, $$pre18 = 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;
180576 var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
180577 var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
180578 var $or$cond$i = 0, $or$cond14$i = 0, label = 0, sp = 0;
180579 sp = STACKTOP;
180580 $2 = HEAP32[$0>>2]|0;
180581 $3 = ((($2)) + 20|0);
180582 $4 = HEAP32[$3>>2]|0;
180583 $5 = ($4|0)>(0);
180584 if (!($5)) {
180585 return;
180586 }
180587 $6 = ((($2)) + 16|0);
180588 $7 = ($1|0)==(0|0);
180589 if ($7) {
180590 $$016$us = 0;$53 = $4;
180591 while(1) {
180592 $8 = HEAP32[$6>>2]|0;
180593 $9 = (((($8) + ($$016$us<<4)|0)) + 4|0);
180594 $10 = HEAP32[$9>>2]|0;
180595 $11 = ($10|0)==(0|0);
180596 if ($11) {
180597 $14 = $53;
180598 } else {
180599 _sqlite3CodeVerifySchema($0,$$016$us);
180600 $$pre18 = HEAP32[$3>>2]|0;
180601 $14 = $$pre18;
180602 }
180603 $12 = (($$016$us) + 1)|0;
180604 $13 = ($12|0)<($14|0);
180605 if ($13) {
180606 $$016$us = $12;$53 = $14;
180607 } else {
180608 break;
180609 }
180610 }
180611 return;
180612 } else {
180613 $$016 = 0;$54 = $4;
180614 }
180615 while(1) {
180616 $15 = HEAP32[$6>>2]|0;
180617 $16 = (((($15) + ($$016<<4)|0)) + 4|0);
180618 $17 = HEAP32[$16>>2]|0;
180619 $18 = ($17|0)==(0|0);
180620 if ($18) {
180621 $52 = $54;
180622 } else {
180623 $19 = (($15) + ($$016<<4)|0);
180624 $20 = HEAP32[$19>>2]|0;
180625 $21 = HEAP8[$1>>0]|0;
180626 $22 = $21&255;
180627 $23 = (17324 + ($22)|0);
180628 $24 = HEAP8[$23>>0]|0;
180629 $25 = $24&255;

Callers 2

_yy_reduceFunction · 0.85
_sqlite3DropTableFunction · 0.85

Calls 1

_sqlite3CodeVerifySchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…