@@ -138,9 +138,7 @@ export interface HeapSnapshotItemIndexProvider {
138138 itemForIndex ( newIndex : number ) : HeapSnapshotItem ;
139139}
140140
141- export class HeapSnapshotNodeIndexProvider
142- implements HeapSnapshotItemIndexProvider
143- {
141+ export class HeapSnapshotNodeIndexProvider implements HeapSnapshotItemIndexProvider {
144142 #node: HeapSnapshotNode ;
145143 constructor ( snapshot : HeapSnapshot ) {
146144 this . #node = snapshot . createNode ( ) ;
@@ -152,9 +150,7 @@ export class HeapSnapshotNodeIndexProvider
152150 }
153151}
154152
155- export class HeapSnapshotEdgeIndexProvider
156- implements HeapSnapshotItemIndexProvider
157- {
153+ export class HeapSnapshotEdgeIndexProvider implements HeapSnapshotItemIndexProvider {
158154 #edge: JSHeapSnapshotEdge ;
159155 constructor ( snapshot : HeapSnapshot ) {
160156 this . #edge = snapshot . createEdge ( 0 ) ;
@@ -166,9 +162,7 @@ export class HeapSnapshotEdgeIndexProvider
166162 }
167163}
168164
169- export class HeapSnapshotRetainerEdgeIndexProvider
170- implements HeapSnapshotItemIndexProvider
171- {
165+ export class HeapSnapshotRetainerEdgeIndexProvider implements HeapSnapshotItemIndexProvider {
172166 readonly #retainerEdge: JSHeapSnapshotRetainerEdge ;
173167 constructor ( snapshot : HeapSnapshot ) {
174168 this . #retainerEdge = snapshot . createRetainingEdge ( 0 ) ;
@@ -331,9 +325,7 @@ export class HeapSnapshotRetainerEdge implements HeapSnapshotItem {
331325 }
332326}
333327
334- export class HeapSnapshotRetainerEdgeIterator
335- implements HeapSnapshotItemIterator
336- {
328+ export class HeapSnapshotRetainerEdgeIterator implements HeapSnapshotItemIterator {
337329 readonly #retainersEnd: number ;
338330 retainer : JSHeapSnapshotRetainerEdge ;
339331 constructor ( retainedNode : HeapSnapshotNode ) {
@@ -631,9 +623,7 @@ export class HeapSnapshotNodeIterator implements HeapSnapshotItemIterator {
631623 }
632624}
633625
634- export class HeapSnapshotIndexRangeIterator
635- implements HeapSnapshotItemIterator
636- {
626+ export class HeapSnapshotIndexRangeIterator implements HeapSnapshotItemIterator {
637627 readonly #itemProvider: HeapSnapshotItemIndexProvider ;
638628 readonly #indexes: number [ ] | Uint32Array ;
639629 #position: number ;
@@ -838,9 +828,7 @@ interface Retainers {
838828}
839829
840830interface ArgumentsToComputeDominatorsAndRetainedSizes
841- extends SecondaryInitArgumentsStep1 ,
842- Retainers ,
843- SecondaryInitArgumentsStep2 {
831+ extends SecondaryInitArgumentsStep1 , Retainers , SecondaryInitArgumentsStep2 {
844832 // For each edge ordinal, this bit vector contains whether the edge
845833 // should be used when computing dominators.
846834 essentialEdges : Platform . TypedArrayUtilities . BitVector ;
@@ -858,7 +846,8 @@ interface DominatorsAndRetainedSizes {
858846}
859847
860848interface ArgumentsToBuildDominatedNodes
861- extends ArgumentsToComputeDominatorsAndRetainedSizes ,
849+ extends
850+ ArgumentsToComputeDominatorsAndRetainedSizes ,
862851 DominatorsAndRetainedSizes { }
863852
864853interface DominatedNodes {
@@ -872,9 +861,7 @@ interface DominatedNodes {
872861
873862// The data transferred from the secondary worker to the primary.
874863interface ResultsFromSecondWorker
875- extends Retainers ,
876- DominatorsAndRetainedSizes ,
877- DominatedNodes { }
864+ extends Retainers , DominatorsAndRetainedSizes , DominatedNodes { }
878865
879866// Initialization work is split into two threads. This class is the entry point
880867// for work done by the second thread.
0 commit comments