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

Function createNodeFromStackEntry

deps/v8/tools/profview/profile-utils.js:107–113  ·  view source on GitHub ↗
(code, codeId, vmState)

Source from the content-addressed store, hash-verified

105}
106
107function createNodeFromStackEntry(code, codeId, vmState) {
108 let name = code ? code.name : "UNKNOWN";
109 let node = createEmptyNode(name);
110 node.codeId = codeId;
111 node.type = resolveCodeKindAndVmState(code, vmState);
112 return node;
113}
114
115function childIdFromCode(codeId, code) {
116 // For JavaScript function, pretend there is one instance of optimized

Callers 2

addOrUpdateChildNodeFunction · 0.85
addStackMethod · 0.85

Calls 2

createEmptyNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…