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

Method processCodeCreation

deps/v8/tools/tickprocessor.mjs:783–791  ·  view source on GitHub ↗
(type, kind, timestamp, start, size, name, maybe_func)

Source from the content-addressed store, hash-verified

781 }
782
783 processCodeCreation(type, kind, timestamp, start, size, name, maybe_func) {
784 if (type != 'RegExp' && maybe_func.length) {
785 const sfiAddr = this.parseAddr(maybe_func[0]);
786 const state = Profile.parseState(maybe_func[1]);
787 this.profile_.addFuncCode(type, name, timestamp, start, size, sfiAddr, state);
788 } else {
789 this.profile_.addCode(type, name, timestamp, start, size);
790 }
791 }
792
793 processCodeDeopt(
794 timestamp, size, code, inliningId, scriptOffset, bailoutType,

Callers

nothing calls this directly

Calls 3

parseStateMethod · 0.80
addFuncCodeMethod · 0.80
addCodeMethod · 0.45

Tested by

no test coverage detected