@@ -38,6 +38,12 @@ extension ModuleDependencyGraph {
38
38
/*@_spi(Testing)*/ public var key : DependencyKey { keyAndFingerprint. key }
39
39
/*@_spi(Testing)*/ public var fingerprint : InternedString ? { keyAndFingerprint. fingerprint }
40
40
41
+ /// When integrating a change, the driver finds untraced nodes so it can kick off jobs that have not been
42
+ /// kicked off yet. (Within any one driver invocation, compiling a source file is idempotent.)
43
+ /// When reading a serialized, prior graph, *don't* recover this state, since it will be a new driver
44
+ /// invocation that has not kicked off any compiles yet.
45
+ @_spi ( Testing) public private( set) var isTraced : Bool = false
46
+
41
47
/// Each Node corresponds to a declaration, somewhere. If the definition has been already found,
42
48
/// the `definitionLocation` will point to it.
43
49
/// If uses are encountered before the definition (in reading swiftdeps files), the `definitionLocation`
@@ -46,11 +52,6 @@ extension ModuleDependencyGraph {
46
52
/// compilation.
47
53
48
54
@_spi ( Testing) public let definitionLocation : DefinitionLocation
49
- /// When integrating a change, the driver finds untraced nodes so it can kick off jobs that have not been
50
- /// kicked off yet. (Within any one driver invocation, compiling a source file is idempotent.)
51
- /// When reading a serialized, prior graph, *don't* recover this state, since it will be a new driver
52
- /// invocation that has not kicked off any compiles yet.
53
- @_spi ( Testing) public private( set) var isTraced : Bool = false
54
55
55
56
private let cachedHash : Int
56
57
0 commit comments