Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 8499a09

Browse files
committed
ScheduleTree: drop isl::ctx-based constructor
This public constructor is not in use anymore. Furthermore, constructing a ScheduleTree with no concrete type is dangerous and should not be possible.
1 parent 5683401 commit 8499a09

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tc/core/polyhedral/schedule_tree.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ static std::unique_ptr<ScheduleTree> makeElem(const ScheduleTree& st) {
152152
////////////////////////////////////////////////////////////////////////////////
153153
// ScheduleTree
154154
////////////////////////////////////////////////////////////////////////////////
155-
ScheduleTree::ScheduleTree(isl::ctx ctx) : ctx_(ctx) {}
156-
157155
ScheduleTree::~ScheduleTree() {}
158156

159157
ScheduleTree::ScheduleTree(const ScheduleTree& st)

tc/core/polyhedral/schedule_tree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ struct ScheduleTree {
154154
ScheduleTree(const ScheduleTree& st);
155155

156156
public:
157-
explicit ScheduleTree(isl::ctx ctx);
158157
virtual ~ScheduleTree();
159158

160159
bool operator==(const ScheduleTree& other) const;

0 commit comments

Comments
 (0)