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(
383383 const DependencyCollector::Reference &ref) {
384384 auto *source = getActiveDependencySourceOrNull ();
385385 assert (source && " cannot realize dependency without associated file!" );
386- if (!source->hasInterfaceHash ()) {
386+ if (!source->isPrimary ()) {
387387 return ;
388388 }
389389 fileReferences[source].insert (ref);
@@ -434,7 +434,7 @@ void evaluator::DependencyRecorder::record(
434434 llvm::function_ref<void (DependencyCollector &)> rec) {
435435 assert (!isRecording && " Probably not a good idea to allow nested recording" );
436436 auto *source = getActiveDependencySourceOrNull ();
437- if (!source || !source->hasInterfaceHash ()) {
437+ if (!source || !source->isPrimary ()) {
438438 return ;
439439 }
440440
@@ -466,7 +466,7 @@ void evaluator::DependencyRecorder::replay(const swift::ActiveRequest &req) {
466466 assert (!isRecording && " Probably not a good idea to allow nested recording" );
467467
468468 auto *source = getActiveDependencySourceOrNull ();
469- if (mode == Mode::StatusQuo || !source || !source->hasInterfaceHash ()) {
469+ if (mode == Mode::StatusQuo || !source || !source->isPrimary ()) {
470470 return ;
471471 }
472472
You can’t perform that action at this time.
0 commit comments