mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintGraph] NFC: Adjustency list and equivalence class printing should respect printing flags
This commit is contained in:
@@ -1350,7 +1350,7 @@ void ConstraintGraphNode::print(llvm::raw_ostream &out, unsigned indent,
|
||||
});
|
||||
for (auto adj : sortedAdjacencies) {
|
||||
out << ' ';
|
||||
adj->print(out);
|
||||
adj->print(out, PO);
|
||||
|
||||
const auto info = AdjacencyInfo.lookup(adj);
|
||||
auto degree = info.NumConstraints;
|
||||
@@ -1389,7 +1389,7 @@ void ConstraintGraphNode::print(llvm::raw_ostream &out, unsigned indent,
|
||||
out << "Equivalence class:";
|
||||
for (unsigned i = 1, n = EquivalenceClass.size(); i != n; ++i) {
|
||||
out << ' ';
|
||||
EquivalenceClass[i]->print(out);
|
||||
EquivalenceClass[i]->print(out, PO);
|
||||
}
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user