mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Drop TypeCheckerDebugConsumer
This commit is contained in:
@@ -873,7 +873,7 @@ namespace {
|
||||
for (const auto &edge : cycleEdges) {
|
||||
if (unionSets(edge.first, edge.second)) {
|
||||
if (cs.isDebugMode()) {
|
||||
auto &log = ctx.TypeCheckerDebug->getStream();
|
||||
auto &log = llvm::errs();
|
||||
if (cs.solverState)
|
||||
log.indent(cs.solverState->depth * 2);
|
||||
|
||||
@@ -1160,7 +1160,7 @@ bool ConstraintGraph::contractEdges() {
|
||||
// Allow l-value contractions when binding parameter types.
|
||||
isParamBindingConstraint)) {
|
||||
if (CS.isDebugMode()) {
|
||||
auto &log = CS.getASTContext().TypeCheckerDebug->getStream();
|
||||
auto &log = llvm::errs();
|
||||
if (CS.solverState)
|
||||
log.indent(CS.solverState->depth * 2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user