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

Method addStaticCode

deps/v8/tools/profile.mjs:485–489  ·  view source on GitHub ↗

* Registers statically compiled code entry. * * @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

483 * @param {number} endAddr Ending address.
484 */
485 addStaticCode(name, startAddr, endAddr) {
486 const entry = new CodeEntry(endAddr - startAddr, name, 'CPP');
487 this.codeMap_.addStaticCode(startAddr, entry);
488 return entry;
489 }
490
491 /**
492 * Registers dynamic (JIT-compiled) code entry.

Callers 1

profile.mjsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected