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

Method getOrCreateScript

deps/v8/tools/profile.mjs:640–647  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

638 }
639
640 getOrCreateScript(id) {
641 let script = this.scripts_[id];
642 if (script === undefined) {
643 script = new Script(id);
644 this.scripts_[id] = script;
645 }
646 return script;
647 }
648
649 getScript(url) {
650 return this.urlToScript_.get(url);

Callers 2

addSourcePositionsMethod · 0.95
addScriptSourceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected