Skip to content

Commit a46025d

Browse files
committed
[region-isolation] Remove Partition::getRegion().
This was a piece of code that I added early while adding better unittesting for Partition. Instead in that patch I added a forward declared class in Partition called PartitionTester that could implement getRegion. I just forgot to remove this.
1 parent cb46851 commit a46025d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/swift/SILOptimizer/Utils/PartitionUtils.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,6 @@ class Partition {
634634
}
635635
os << "]\n";
636636
}
637-
638-
/// Routine used in unittests
639-
Region getRegion(Element elt) const { return labels.at(elt); }
640637
};
641638

642639
} // namespace swift

0 commit comments

Comments
 (0)