summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/FlattenSchedule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Transform/FlattenSchedule.cpp')
-rw-r--r--polly/lib/Transform/FlattenSchedule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Transform/FlattenSchedule.cpp b/polly/lib/Transform/FlattenSchedule.cpp
index daea1d5ddbc..5bdb6abf91f 100644
--- a/polly/lib/Transform/FlattenSchedule.cpp
+++ b/polly/lib/Transform/FlattenSchedule.cpp
@@ -77,7 +77,7 @@ public:
DEBUG(dbgs() << "Gisted, flattened new schedule:\n");
DEBUG(printSchedule(dbgs(), NewSchedule, 2));
- S.setSchedule(NewSchedule.take());
+ S.setSchedule(NewSchedule);
return false;
}
OpenPOWER on IntegriCloud