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

Method processPreparseResolution

deps/v8/tools/parse-processor.mjs:1015–1023  ·  view source on GitHub ↗
(
      scriptId, startPosition, endPosition, duration, timestamp, functionName)

Source from the content-addressed store, hash-verified

1013 }
1014
1015 processPreparseResolution(
1016 scriptId, startPosition, endPosition, duration, timestamp, functionName) {
1017 let funktion = this.getOrCreateFunction(...arguments);
1018 // TODO(cbruni): this should never happen, emit different event from the
1019 // parser.
1020 if (funktion.resolutionTimestamp > 0) return;
1021 funktion.resolutionTimestamp = startOf(timestamp, duration);
1022 funktion.resolutionDuration = duration;
1023 }
1024
1025 processPreparseNoResolution(
1026 scriptId, startPosition, endPosition, duration, timestamp, functionName) {

Callers

nothing calls this directly

Calls 2

getOrCreateFunctionMethod · 0.95
startOfFunction · 0.85

Tested by

no test coverage detected