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

Method addLibrary

deps/v8/tools/profile.mjs:472–476  ·  view source on GitHub ↗

* Registers a library. * * @param {string} name Code entry name. * @param {number} startAddr Starting address. * @param {number} endAddr Ending address.

(name, startAddr, endAddr)

Source from the content-addressed store, hash-verified

470 * @param {number} endAddr Ending address.
471 */
472 addLibrary(name, startAddr, endAddr) {
473 const entry = new CodeEntry(endAddr - startAddr, name, 'SHARED_LIB');
474 this.codeMap_.addLibrary(startAddr, entry);
475 return entry;
476 }
477
478 /**
479 * Registers statically compiled code entry.

Callers 1

profile.mjsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected