MCPcopy Create free account
hub / github.com/nodejs/node / constructor

Method constructor

deps/v8/tools/tickprocessor.mjs:43–59  ·  view source on GitHub ↗
(separateIc, separateBytecodes, separateBuiltins, separateStubs,
        separateSparkplugHandlers, useBigIntAddresses=false)

Source from the content-addressed store, hash-verified

41 static STUBS_RE = /^(Stub: )/;
42
43 constructor(separateIc, separateBytecodes, separateBuiltins, separateStubs,
44 separateSparkplugHandlers, useBigIntAddresses=false) {
45 super(useBigIntAddresses);
46 const regexps = [];
47 if (!separateIc) regexps.push(V8Profile.IC_RE);
48 if (!separateBytecodes) regexps.push(V8Profile.BYTECODES_RE);
49 if (!separateBuiltins) regexps.push(V8Profile.BUILTINS_RE);
50 if (!separateStubs) regexps.push(V8Profile.STUBS_RE);
51 if (regexps.length > 0) {
52 this.skipThisFunction = function(name) {
53 for (let i = 0; i < regexps.length; i++) {
54 if (regexps[i].test(name)) return true;
55 }
56 return false;
57 };
58 }
59 }
60}
61
62class CppEntriesProvider {

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
testMethod · 0.45

Tested by

no test coverage detected