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

Function _strAccumFinishRealloc

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

Source from the content-addressed store, hash-verified

12810 }
12811}
12812function _strAccumFinishRealloc($0) {
12813 $0 = $0|0;
12814 var $$0$i = 0, $$0$i14 = 0, $$0$i18 = 0, $$pre = 0, $$pre$phiZ2D = 0, $$sink$i$i = 0, $$sink4$i$i = 0, $1 = 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;
12815 var $21 = 0, $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;
12816 var $4 = 0, $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, $55 = 0, $56 = 0, $57 = 0;
12817 var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $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;
12818 var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $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;
12819 var $94 = 0, $95 = 0, $96 = 0, label = 0, sp = 0;
12820 sp = STACKTOP;
12821 $1 = HEAP32[$0>>2]|0;
12822 $2 = ((($0)) + 16|0);
12823 $3 = HEAP32[$2>>2]|0;
12824 $4 = (($3) + 1)|0;
12825 $5 = ($1|0)==(0|0);
12826 do {
12827 if ($5) {
12828 $38 = (_i64Add(($4|0),0,-1,-1)|0);
12829 $39 = tempRet0;
12830 $40 = ($39>>>0)>(0);
12831 $41 = ($38>>>0)>(2147483390);
12832 $42 = ($39|0)==(0);
12833 $43 = $42 & $41;
12834 $44 = $40 | $43;
12835 if ($44) {
12836 label = 25;
12837 } else {
12838 $45 = HEAP32[2]|0;
12839 $46 = ($45|0)==(0);
12840 if ($46) {
12841 $85 = HEAP32[(52)>>2]|0;
12842 $86 = (FUNCTION_TABLE_ii[$85 & 255]($4)|0);
12843 $$0$i = $86;
12844 label = 23;
12845 break;
12846 }
12847 $47 = HEAP32[(68)>>2]|0;
12848 $48 = (FUNCTION_TABLE_ii[$47 & 255]($4)|0);
12849 $49 = HEAP32[11829]|0;
12850 $50 = ($49>>>0)<($4>>>0);
12851 if ($50) {
12852 HEAP32[11829] = $4;
12853 }
12854 $51 = (46456);
12855 $52 = $51;
12856 $53 = HEAP32[$52>>2]|0;
12857 $54 = (($51) + 4)|0;
12858 $55 = $54;
12859 $56 = HEAP32[$55>>2]|0;
12860 $57 = ($56|0)>(0);
12861 $58 = ($53>>>0)>(0);
12862 $59 = ($56|0)==(0);
12863 $60 = $59 & $58;
12864 $61 = $57 | $60;
12865 if ($61) {
12866 $62 = HEAP32[11822]|0;
12867 $63 = ($48|0)<(0);
12868 $64 = $63 << 31 >> 31;
12869 $65 = (_i64Subtract(($53|0),($56|0),($48|0),($64|0))|0);

Callers 15

_sqlite3_logFunction · 0.85
_sqlite3_mprintfFunction · 0.85
_printfFuncFunction · 0.85
_groupConcatFinalizeFunction · 0.85
_sqlite3MPrintfFunction · 0.85
_sqlite3_vmprintfFunction · 0.85
_sqlite3ErrorWithMsgFunction · 0.85
_sqlite3ErrorMsgFunction · 0.85
_sqlite3VdbeErrorFunction · 0.85
_sqlite3_stepFunction · 0.85
_sqlite3VdbeExecFunction · 0.85
_sqlite3NestedParseFunction · 0.85

Calls 4

_i64AddFunction · 0.85
_i64SubtractFunction · 0.85
_dbMallocRawFinishFunction · 0.85
_memcpyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…