Debian Codegraph @

js/src/jit-test/tests/wasm/regress/enable-profiling-in-import.js

raw
1 var module = new WebAssembly.Module(wasmTextToBinary(`
2 (module
3 (import "global" "func" (func))
4 (func (export "f")
5 call 0
6 )
7 )
8 `));
9 new WebAssembly.Instance(module, { global: { func: enableGeckoProfiling } }).exports.f();