File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ void evaluator::DependencyRecorder::realize(
383
383
const DependencyCollector::Reference &ref) {
384
384
auto *source = getActiveDependencySourceOrNull ();
385
385
assert (source && " cannot realize dependency without associated file!" );
386
- if (!source->hasInterfaceHash ()) {
386
+ if (!source->isPrimary ()) {
387
387
return ;
388
388
}
389
389
fileReferences[source].insert (ref);
@@ -434,7 +434,7 @@ void evaluator::DependencyRecorder::record(
434
434
llvm::function_ref<void (DependencyCollector &)> rec) {
435
435
assert (!isRecording && " Probably not a good idea to allow nested recording" );
436
436
auto *source = getActiveDependencySourceOrNull ();
437
- if (!source || !source->hasInterfaceHash ()) {
437
+ if (!source || !source->isPrimary ()) {
438
438
return ;
439
439
}
440
440
@@ -466,7 +466,7 @@ void evaluator::DependencyRecorder::replay(const swift::ActiveRequest &req) {
466
466
assert (!isRecording && " Probably not a good idea to allow nested recording" );
467
467
468
468
auto *source = getActiveDependencySourceOrNull ();
469
- if (mode == Mode::StatusQuo || !source || !source->hasInterfaceHash ()) {
469
+ if (mode == Mode::StatusQuo || !source || !source->isPrimary ()) {
470
470
return ;
471
471
}
472
472
You can’t perform that action at this time.
0 commit comments