enable-profiling-in-import.js (261B)
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();