mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Rename ProjectionTree::getLeafTypes() => getLiveLeafTypes().
This is a more appropriate name. Otherwise, a reader could think that it returns /all/ leaf types including dead leaf types.
This commit is contained in:
@@ -1244,7 +1244,7 @@ computeUsesAndLiveness(SILValue Base) {
|
||||
#ifndef NDEBUG
|
||||
DEBUG(llvm::dbgs() << "Final Leafs: \n");
|
||||
llvm::SmallVector<SILType, 8> LeafTypes;
|
||||
getLeafTypes(LeafTypes);
|
||||
getLiveLeafTypes(LeafTypes);
|
||||
for (SILType Leafs : LeafTypes) {
|
||||
DEBUG(llvm::dbgs() << " " << Leafs << "\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user