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

Function getGraphName

tools/acorn-optimizer.mjs:778–780  ·  view source on GitHub ↗
(name, what)

Source from the content-addressed store, hash-verified

776 // Second pass: everything used in the toplevel scope is rooted;
777 // things used in defun scopes create links
778 function getGraphName(name, what) {
779 return 'emcc$' + what + '$' + name;
780 }
781 const infos = {}; // the graph name of the item => info for it
782 for (const [jsName, nativeName] of imports) {
783 const name = getGraphName(jsName, 'import');

Callers 3

saveAsmExportFunction · 0.85
emitDCEGraphFunction · 0.85
visitNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected