CycleNode *fromnode = getNode(from);
CycleNode *tonode = getNode(to);
- addEdge(fromnode, tonode);
+ addNodeEdge(fromnode, tonode);
}
/**
* @param fromnode The edge comes from this CycleNode
* @param tonode The edge points to this CycleNode
*/
-void CycleGraph::addEdge(CycleNode *fromnode, CycleNode *tonode)
+void CycleGraph::addNodeEdge(CycleNode *fromnode, CycleNode *tonode)
{
if (!hasCycles)
hasCycles = checkReachable(tonode, fromnode);
}
}
- addEdge(fromnode, rmwnode);
+ addNodeEdge(fromnode, rmwnode);
}
#if SUPPORT_MOD_ORDER_DUMP