@@ -339,10 +339,8 @@ extension ModuleDependencyGraph {
339
339
var minorVersion : UInt64 ?
340
340
var compilerVersionString : String ?
341
341
342
- private var node : Node ? = nil
343
342
// The empty string is hardcoded as identifiers[0]
344
343
private var identifiers : [ String ] = [ " " ]
345
- private var sequenceNumber = 0
346
344
347
345
init (
348
346
diagnosticEngine: DiagnosticsEngine ,
@@ -362,13 +360,7 @@ extension ModuleDependencyGraph {
362
360
return true
363
361
}
364
362
365
- mutating func didExitBlock( ) throws {
366
- // Finalize the current node if needed.
367
- guard let newNode = node else {
368
- return
369
- }
370
- self . finalize ( node: newNode)
371
- }
363
+ mutating func didExitBlock( ) throws { }
372
364
373
365
private func finalize( node newNode: Node ) {
374
366
let oldNode = self . graph. nodeFinder. insert ( newNode)
@@ -421,10 +413,6 @@ extension ModuleDependencyGraph {
421
413
let swiftDeps = try swiftDepsStr
422
414
. map ( { try VirtualPath ( path: $0) } )
423
415
. map ( ModuleDependencyGraph . SwiftDeps. init)
424
- node = Node ( key: key,
425
- fingerprint: fingerprint,
426
- swiftDeps: swiftDeps)
427
- sequenceNumber += 1
428
416
case . externalDepNode:
429
417
guard record. fields. count == 1 ,
430
418
record. fields [ 0 ] < identifiers. count
0 commit comments