Home
last modified time | relevance | path

Searched refs:sourceResolver (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/v8/tools/turbolizer/src/
Dturbo-visualizer.ts20 let sourceResolver: SourceResolver = null; variable
56 sourceResolver = new SourceResolver();
57 selectionBroker = new SelectionBroker(sourceResolver);
76 sourceResolver.setInlinings(jsonObj.inlinings);
77 sourceResolver.setSourceLineToBytecodePosition(jsonObj.sourceLineToBytecodePosition);
78 sourceResolver.setSources(jsonObj.sources, fnc);
79 sourceResolver.setNodePositionMap(jsonObj.nodePositions);
80 sourceResolver.parsePhases(jsonObj.phases);
85 …const sourceView = new CodeView(sourceContainer, selectionBroker, sourceResolver, fnc, CodeMode.MA…
89 sourceResolver.forEachSource(source => {
[all …]
Dgraphmultiview.ts26 sourceResolver: SourceResolver; property in GraphMultiView
47 constructor(id, selectionBroker, sourceResolver) {
50 view.sourceResolver = sourceResolver;
82 view.sourceResolver.forEachPhase(phase => {
94 view.displayPhase(view.sourceResolver.getPhase(phaseIndex));
104 const initialPhaseIndex = this.sourceResolver.repairPhaseId(lastPhaseIndex);
106 this.displayPhase(this.sourceResolver.getPhase(initialPhaseIndex));
126 const phaseId = this.sourceResolver.getPhaseIdByName(phaseName);
128 this.displayPhase(this.sourceResolver.getPhase(phaseId), selection);
133 while (nextPhaseIndex < this.sourceResolver.phases.length) {
[all …]
Dselection-broker.ts9 sourceResolver: SourceResolver; property in SelectionBroker
17 constructor(sourceResolver) {
24 this.sourceResolver = sourceResolver;
59 const pcOffsets = this.sourceResolver.instructionsToKeyPcOffsets(instructionOffsets);
61 const nodes = this.sourceResolver.nodesForPCOffset(offset)[0];
62 const sourcePositions = this.sourceResolver.nodeIdsToSourcePositions(nodes);
86 const nodes = this.sourceResolver.sourcePositionsToNodeIds(sourcePositions);
92 const instructionOffsets = this.sourceResolver.nodeIdToInstructionRange[node];
115 const sourcePositions = this.sourceResolver.nodeIdsToSourcePositions(nodes);
121 const instructionOffsets = this.sourceResolver.nodeIdToInstructionRange[node];
Dcode-view.ts28 sourceResolver: SourceResolver; property in CodeView
41 …constructor(parent: HTMLElement, broker: SelectionBroker, sourceResolver: SourceResolver, sourceFu…
45 view.sourceResolver = sourceResolver;
61 sourceResolver.addInliningPositions(sourcePosition, locations);
71 const translated = sourceResolver.translateToSourceId(view.source.sourceId, location);
130 const positions = this.sourceResolver.lineToSourcePositions(lineNumber - 1);
237 const sps = this.sourceResolver.sourcePositionsInRange(this.source.sourceId, pos - adjust, end);
242 this.sourceResolver.addAnyPositionToLine(lineNumber - 1, sourcePosition);
254 const inlining = this.sourceResolver.getInliningForPosition(sourcePosition);
256 const sourceName = this.sourceResolver.getSourceName(inlining.sourceId);
[all …]
Ddisassembly-view.ts51 const instructionKind = view.sourceResolver.getInstructionKindForPCOffset(offset);
53 fragment.title = view.sourceResolver.instructionKindToReadableName(instructionKind);
54 const blockIds = view.sourceResolver.getBlockIdsForOffset(offset);
76 let pcOffset = view.sourceResolver.getKeyPcOffset(offset);
99 let keyOffset = view.sourceResolver.getKeyPcOffset(offset);
101 const blockIds = view.sourceResolver.getBlockIdsForOffset(offset);
120 if (view.sourceResolver.hasBlockStartInfo()) return false;
170 const nodes = view.sourceResolver.nodesForPCOffset(offset)[0];
211 const keyPcOffsets = view.sourceResolver.instructionsToKeyPcOffsets(instructionIds);
265 const keyPcOffsets = this.sourceResolver.nodesToKeyPcOffsets(this.selection.selectedKeys());
Dschedule-view.ts10 sourceResolver: SourceResolver; property in ScheduleView
22 this.sourceResolver = broker.sourceResolver;
90 const [start, end] = view.sourceResolver.getInstruction(node.id);
130 const [start, end] = view.sourceResolver.getInstructionRangeForBlock(block.id);
Dtext-view.ts26 sourceResolver: SourceResolver; property in TextView
42 view.sourceResolver = broker.sourceResolver;
Dsequence-view.ts163 const offsets = view.sourceResolver.instructionToPcOffsets(instruction.id);