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

Function _sqlite3VdbeError

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

Source from the content-addressed store, hash-verified

84952 }
84953}
84954function _sqlite3VdbeError($0,$1,$varargs) {
84955 $0 = $0|0;
84956 $1 = $1|0;
84957 $varargs = $varargs|0;
84958 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, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
84959 var $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, $45 = 0;
84960 var $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, $63 = 0;
84961 var $64 = 0, $65 = 0, $66 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
84962 sp = STACKTOP;
84963 STACKTOP = STACKTOP + 112|0;
84964 $2 = sp + 40|0;
84965 $3 = sp + 16|0;
84966 $4 = sp;
84967 $5 = HEAP32[$0>>2]|0;
84968 $6 = ((($0)) + 108|0);
84969 $7 = HEAP32[$6>>2]|0;
84970 $8 = ($7|0)==(0|0);
84971 do {
84972 if (!($8)) {
84973 $9 = ($5|0)==(0|0);
84974 if (!($9)) {
84975 $10 = ((($5)) + 464|0);
84976 $11 = HEAP32[$10>>2]|0;
84977 $12 = ($11|0)==(0|0);
84978 if (!($12)) {
84979 _measureAllocationSize($5,$7);
84980 break;
84981 }
84982 $13 = $7;
84983 $14 = ((($5)) + 296|0);
84984 $15 = HEAP32[$14>>2]|0;
84985 $16 = ($13>>>0)<($15>>>0);
84986 if (!($16)) {
84987 $17 = ((($5)) + 300|0);
84988 $18 = HEAP32[$17>>2]|0;
84989 $19 = ($13>>>0)<($18>>>0);
84990 if ($19) {
84991 $20 = ((($5)) + 292|0);
84992 $21 = HEAP32[$20>>2]|0;
84993 HEAP32[$7>>2] = $21;
84994 HEAP32[$20>>2] = $7;
84995 break;
84996 }
84997 }
84998 }
84999 $22 = HEAP32[2]|0;
85000 $23 = ($22|0)==(0);
85001 if ($23) {
85002 $31 = HEAP32[(56)>>2]|0;
85003 FUNCTION_TABLE_vi[$31 & 255]($7);
85004 break;
85005 } else {
85006 $24 = HEAP32[(64)>>2]|0;
85007 $25 = (FUNCTION_TABLE_ii[$24 & 255]($7)|0);
85008 $26 = HEAP32[11822]|0;
85009 $27 = (($26) - ($25))|0;
85010 HEAP32[11822] = $27;
85011 $28 = HEAP32[11825]|0;

Callers 3

_sqlite3VdbeHaltFunction · 0.85
_sqlite3_stepFunction · 0.85
_sqlite3VdbeExecFunction · 0.85

Calls 3

_measureAllocationSizeFunction · 0.85
_sqlite3VXPrintfFunction · 0.85
_strAccumFinishReallocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…