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

Function ___syscall_ret

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

Source from the content-addressed store, hash-verified

394404 return ($$198|0);
394405}
394406function ___syscall_ret($0) {
394407 $0 = $0|0;
394408 var $$0 = 0, $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
394409 sp = STACKTOP;
394410 $1 = ($0>>>0)>(4294963200);
394411 if ($1) {
394412 $2 = (0 - ($0))|0;
394413 $3 = (___errno_location()|0);
394414 HEAP32[$3>>2] = $2;
394415 $$0 = -1;
394416 } else {
394417 $$0 = $0;
394418 }
394419 return ($$0|0);
394420}
394421function ___errno_location() {
394422 var $0 = 0, $1 = 0, label = 0, sp = 0;
394423 sp = STACKTOP;

Callers 15

_closeFunction · 0.85
_fstatFunction · 0.85
_fcntlFunction · 0.85
_lseekFunction · 0.85
_openFunction · 0.85
___munmapFunction · 0.85
_mkdirFunction · 0.85
_statFunction · 0.85
_accessFunction · 0.85
_fsyncFunction · 0.85
_getcwdFunction · 0.85
_readFunction · 0.85

Calls 1

___errno_locationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…