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

Method displayPhase

deps/v8/tools/turbolizer/src/graphmultiview.ts:108–120  ·  view source on GitHub ↗
(phase: DynamicPhase, selection?: SelectionStorage)

Source from the content-addressed store, hash-verified

106 }
107
108 private displayPhase(phase: DynamicPhase, selection?: SelectionStorage): void {
109 this.sourceResolver.positions = phase.positions;
110 this.sourceResolver.instructionsPhase = phase.instructionsPhase;
111 if (phase.type == PhaseType.Graph) {
112 this.displayPhaseView(this.graph, phase, selection);
113 } else if (phase.type == PhaseType.TurboshaftGraph) {
114 this.displayPhaseView(this.turboshaftGraph, phase, selection);
115 } else if (phase.type == PhaseType.Schedule) {
116 this.displayPhaseView(this.schedule, phase, selection);
117 } else if (phase.type == PhaseType.Sequence) {
118 this.displayPhaseView(this.sequence, phase, selection);
119 }
120 }
121
122 private displayPhaseView(view: PhaseView, data: DynamicPhase, selection?: SelectionStorage):
123 void {

Callers 5

showMethod · 0.95
displayPhaseByNameMethod · 0.95
displayNextGraphPhaseMethod · 0.95
initializeSelectMethod · 0.80

Calls 1

displayPhaseViewMethod · 0.95

Tested by

no test coverage detected