diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp index b8189c522bb..95c9d3cf5db 100644 --- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/lib/Analysis/DataStructure/CompleteBottomUp.cpp @@ -222,5 +222,5 @@ void CompleteBUDataStructures::processGraph(DSGraph &G) { // Delete dead nodes. Treat globals that are unreachable but that can // reach live nodes as live. - G.removeDeadNodes(DSGraph::RemoveUnreachableGlobals); + G.removeDeadNodes(DSGraph::KeepUnreachableGlobals); }