File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ class SwingSchedulerDDG {
215215 SwingSchedulerDDGEdges EntrySUEdges;
216216 SwingSchedulerDDGEdges ExitSUEdges;
217217
218- void addEdge (SUnit *SU, const SwingSchedulerDDGEdge &Edge);
218+ void addEdge (const SUnit *SU, const SwingSchedulerDDGEdge &Edge);
219219
220220 SwingSchedulerDDGEdges &getEdges (const SUnit *SU);
221221 const SwingSchedulerDDGEdges &getEdges (const SUnit *SU) const ;
Original file line number Diff line number Diff line change @@ -3777,7 +3777,8 @@ SwingSchedulerDDG::getEdges(const SUnit *SU) const {
37773777 return EdgesVec[SU->NodeNum ];
37783778}
37793779
3780- void SwingSchedulerDDG::addEdge (SUnit *SU, const SwingSchedulerDDGEdge &Edge) {
3780+ void SwingSchedulerDDG::addEdge (const SUnit *SU,
3781+ const SwingSchedulerDDGEdge &Edge) {
37813782 auto &Edges = getEdges (SU);
37823783 if (Edge.getSrc () == SU)
37833784 Edges.Succs .push_back (Edge);
You can’t perform that action at this time.
0 commit comments