Skip to content

Commit 9cc073f

Browse files
committed
Enable GlobalOpt to run on ossa
1 parent a3d0f96 commit 9cc073f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/SILOptimizer/IPO/GlobalOpt.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -713,11 +713,6 @@ void SILGlobalOpt::reset() {
713713

714714
void SILGlobalOpt::collect() {
715715
for (auto &F : *Module) {
716-
// TODO: Add support for ownership.
717-
if (F.hasOwnership()) {
718-
continue;
719-
}
720-
721716
// Make sure to create an entry. This is important in case a global variable
722717
// (e.g. a public one) is not used inside the same module.
723718
if (F.isGlobalInit())

0 commit comments

Comments
 (0)