MCPcopy Index your code
hub / github.com/nodejs/node / instantiate

Method instantiate

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:2385–2389  ·  view source on GitHub ↗
(ffi, options)

Source from the content-addressed store, hash-verified

2383 }
2384
2385 instantiate(ffi, options) {
2386 let module = this.toModule(options);
2387 let instance = new WebAssembly.Instance(module, ffi);
2388 return instance;
2389 }
2390
2391 asyncInstantiate(ffi) {
2392 return WebAssembly.instantiate(this.toBuffer(), ffi)

Callers 1

asyncInstantiateMethod · 0.45

Calls 1

toModuleMethod · 0.95

Tested by

no test coverage detected