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

Method processPropertyIC

deps/v8/tools/system-analyzer/processor.mjs:494–510  ·  view source on GitHub ↗
(
      type, pc, time, line, column, old_state, new_state, mapId, key, modifier,
      slow_reason)

Source from the content-addressed store, hash-verified

492 }
493
494 processPropertyIC(
495 type, pc, time, line, column, old_state, new_state, mapId, key, modifier,
496 slow_reason) {
497 this._lastTimestamp = time;
498 const codeEntry = this._profile.findEntry(pc);
499 const fnName = this.formatProfileEntry(codeEntry);
500 const script = this.getProfileEntryScript(codeEntry);
501 const map = this.getOrCreateMapEntry(mapId, time);
502 // TODO: Use SourcePosition here directly
503 let entry = new IcLogEntry(
504 type, fnName, time, line, column, key, old_state, new_state, map,
505 slow_reason, modifier, codeEntry);
506 if (script) {
507 entry.sourcePosition = script.addSourcePosition(line, column, entry);
508 }
509 this._icTimeline.push(entry);
510 }
511
512 formatProfileEntry(profileEntry, line, column) {
513 if (!profileEntry) return '<unknown>';

Callers

nothing calls this directly

Calls 6

formatProfileEntryMethod · 0.95
getProfileEntryScriptMethod · 0.95
getOrCreateMapEntryMethod · 0.95
findEntryMethod · 0.45
addSourcePositionMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected