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

Function _pagerOpenWal

js/sql-debug.js:77502–77863  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

77500 return (0)|0;
77501}
77502function _pagerOpenWal($0) {
77503 $0 = $0|0;
77504 var $$0$i = 0, $$0$i8$i$ph$i = 0, $$012$i$i = 0, $$1 = 0, $$pre = 0, $$pre$i$i = 0, $$pre$pre = 0, $$sink$i = 0, $$sink$i$i$i$i = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0;
77505 var $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0;
77506 var $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0;
77507 var $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0;
77508 var $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
77509 var $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, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
77510 var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
77511 var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
77512 var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
77513 var $cond$i = 0, label = 0, sp = 0;
77514 sp = STACKTOP;
77515 STACKTOP = STACKTOP + 16|0;
77516 $1 = sp;
77517 $2 = ((($0)) + 4|0);
77518 $3 = HEAP8[$2>>0]|0;
77519 $4 = ($3<<24>>24)==(0);
77520 L1: do {
77521 if ($4) {
77522 $104 = 0;
77523 } else {
77524 $5 = ((($0)) + 17|0);
77525 $6 = HEAP8[$5>>0]|0;
77526 switch ($6<<24>>24) {
77527 case 0: case 1: case 2: case 3: case 5: {
77528 break;
77529 }
77530 default: {
77531 $104 = $3;
77532 break L1;
77533 }
77534 }
77535 $7 = ((($0)) + 13|0);
77536 $8 = HEAP8[$7>>0]|0;
77537 $9 = ($8<<24>>24)==(0);
77538 do {
77539 if ($9) {
77540 $10 = ((($0)) + 60|0);
77541 $11 = HEAP32[$10>>2]|0;
77542 $12 = HEAP32[$11>>2]|0;
77543 $13 = ((($12)) + 28|0);
77544 $14 = HEAP32[$13>>2]|0;
77545 $15 = (FUNCTION_TABLE_iii[$14 & 255]($11,4)|0);
77546 $16 = ($15|0)==(0);
77547 if ($16) {
77548 $$pre$pre = HEAP8[$2>>0]|0;
77549 $$pre = $$pre$pre;
77550 break;
77551 }
77552 $17 = HEAP32[$10>>2]|0;
77553 $18 = HEAP32[$17>>2]|0;
77554 $19 = ($18|0)==(0|0);
77555 if ($19) {
77556 $$1 = $15;
77557 STACKTOP = sp;return ($$1|0);
77558 }
77559 $20 = HEAP8[$7>>0]|0;

Callers 3

_sqlite3BtreeBeginTransFunction · 0.85
_sqlite3PagerSharedLockFunction · 0.85
_sqlite3VdbeExecFunction · 0.85

Calls 3

_i64AddFunction · 0.85
_i64SubtractFunction · 0.85
_memsetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…