From 571c62a008a814eae402cdeee63bf10f5fa7f05c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 20 Mar 2005 04:29:54 +0000 Subject: [PATCH] This call is always a noop, remove it. llvm-svn: 20714 --- llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp index fb367a8e68ac..4d6313683e05 100644 --- a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -185,15 +185,6 @@ void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) { break; } - // Now fold in the necessary globals from the GlobalsGraph. A global G - // must be folded in if it exists in the current graph (i.e., is not dead) - // and it was not inlined from any of my callers. If it was inlined from - // a caller, it would have been fully consistent with the GlobalsGraph - // in the caller so folding in is not necessary. Otherwise, this node came - // solely from this function's BU graph and so has to be made consistent. - // - Graph.updateFromGlobalGraph(); - // Recompute the Incomplete markers. Depends on whether args are complete unsigned Flags = HasIncompleteArgs ? DSGraph::MarkFormalArgs : DSGraph::IgnoreFormalArgs;