aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/DataStructure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/DataStructure/DataStructure.cpp')
-rw-r--r--lib/Analysis/DataStructure/DataStructure.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp
index 0e7d3e69b9..9f8a4ef4b5 100644
--- a/lib/Analysis/DataStructure/DataStructure.cpp
+++ b/lib/Analysis/DataStructure/DataStructure.cpp
@@ -1071,9 +1071,6 @@ void DSGraph::updateFromGlobalGraph() {
if (It != GlobalsGraph->ScalarMap.end())
RC.merge(getNodeForValue(*I), It->second);
}
-
- // Merging global nodes leaves behind unused nodes: get rid of them now.
- removeTriviallyDeadNodes();
}
/// cloneInto - Clone the specified DSGraph into the current graph. The
@@ -1597,7 +1594,7 @@ void DSGraph::removeDeadNodes(unsigned Flags) {
// Reduce the amount of work we have to do... remove dummy nodes left over by
// merging...
- //removeTriviallyDeadNodes();
+ removeTriviallyDeadNodes();
TIME_REGION(X, "removeDeadNodes");