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

Method processCodeSourceInfo

deps/v8/tools/system-analyzer/processor.mjs:468–479  ·  view source on GitHub ↗
(
      start, scriptId, startPos, endPos, sourcePositions, inliningPositions,
      inlinedFunctions)

Source from the content-addressed store, hash-verified

466 }
467
468 processCodeSourceInfo(
469 start, scriptId, startPos, endPos, sourcePositions, inliningPositions,
470 inlinedFunctions) {
471 this._profile.addSourcePositions(
472 start, scriptId, startPos, endPos, sourcePositions, inliningPositions,
473 inlinedFunctions);
474 if (this._lastCodeLogEntry === undefined) return;
475 let profileEntry = this._profile.findEntry(start);
476 if (profileEntry !== this._lastCodeLogEntry._entry) return;
477 this.addSourcePosition(profileEntry, this._lastCodeLogEntry);
478 this._lastCodeLogEntry = undefined;
479 }
480
481 addSourcePosition(profileEntry, logEntry) {
482 let script = this.getProfileEntryScript(profileEntry);

Callers

nothing calls this directly

Calls 3

addSourcePositionMethod · 0.95
addSourcePositionsMethod · 0.80
findEntryMethod · 0.45

Tested by

no test coverage detected