Fix comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2003-07-22 12:08:58 +00:00
parent 908c1f6fc5
commit 40c600e8f3

View File

@ -1529,9 +1529,9 @@ void DSGraph::removeDeadNodes(unsigned Flags) {
GlobalNodeMap.clear(); GlobalNodeMap.clear();
GlobalsGraph->removeTriviallyDeadNodes(); GlobalsGraph->removeTriviallyDeadNodes();
// At this point, any nodes which are visited, but not alive, are nodes which // At this point, any nodes which are visited, but not alive, are nodes
// should be moved to the globals graph. Loop over all nodes, eliminating // which can be removed. Loop over all nodes, eliminating completely
// completely unreachable nodes, and moving visited nodes to the globals graph // unreachable nodes.
// //
std::vector<DSNode*> DeadNodes; std::vector<DSNode*> DeadNodes;
DeadNodes.reserve(Nodes.size()); DeadNodes.reserve(Nodes.size());