Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
swift-ci
2018-06-22 01:09:58 -07:00
7 changed files with 57 additions and 2 deletions

View File

@@ -1802,7 +1802,7 @@ int swift::performFrontend(ArrayRef<const char *> Args,
// Install stats-reporter somewhere visible for subsystems that
// need to bump counters as they work, rather than measure
// accumulated work on completion (mostly: TypeChecker).
Instance->getASTContext().Stats = StatsReporter.get();
Instance->getASTContext().setStatsReporter(StatsReporter.get());
}
// The compiler instance has been configured; notify our observer.