MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / Z

Function Z

test/other/test_emsize.js:16–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14f),!1}(function(){if(G||"function"!==typeof WebAssembly.instantiateStreaming||ia()||S("file://")||"function"!==typeof fetch)return d(c);fetch(T,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(c,function(h){F("wasm streaming compile failed: "+h);F("falling back to ArrayBuffer instantiation");return d(c)})})})();return{}})();var pa=a.___wasm_call_ctors=function(){return(pa=a.___wasm_call_ctors=a.asm.e).apply(null,arguments)};
15a._main=function(){return(a._main=a.asm.f).apply(null,arguments)};a.___heap_base=5245632;var Y;function D(b){this.name="ExitStatus";this.message="Program terminated with exit("+b+")";this.status=b}R=function sa(){Y||Z();Y||(R=sa)};
16function Z(){function b(){if(!Y&&(Y=!0,a.calledRun=!0,!J)){U(da);U(ea);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(ta){var c=a._main;try{var d=c(0,0);if(!noExitRuntime||0!==d){if(!noExitRuntime){if(a.onExit)a.onExit(d);J=!0}p(d,new D(d))}}catch(e){e instanceof D||("unwind"==e?noExitRuntime=!0:((c=e)&&"object"===typeof e&&e.stack&&(c=[e,e.stack]),F("exception thrown: "+c),p(1,e)))}finally{}}if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)c=a.postRun.shift(),
17fa.unshift(c);U(fa)}}if(!(0<P)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)ha();U(ca);0<P||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}a.run=Z;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();var ta=!0;a.noInitialRun&&(ta=!1);noExitRuntime=!0;Z();

Callers 1

test_emsize.jsFile · 0.85

Calls 3

haFunction · 0.70
UFunction · 0.70
bFunction · 0.70

Tested by

no test coverage detected