Fix bug
authorChris Lattner <sabre@nondot.org>
Mon, 11 Nov 2002 22:23:56 +0000 (22:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 11 Nov 2002 22:23:56 +0000 (22:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4697 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/IPModRef.cpp
lib/Analysis/IPA/IPModRef.cpp

index ab9b7709d4b04d8c93be0c65067d99a08891d8c4..c36c08f9e777a5092e3259565016eed80f40487e 100644 (file)
@@ -158,9 +158,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
     return 0;
   }
 
-  // Remove trivial dead nodes... don't aggressively prune graph though... the
-  // graph is short lived anyway.
-  Result->removeTriviallyDeadNodes(false);
+  // Remove dead nodes... 
+  Result->removeDeadNodes();
 
   // Step #4: Return the clone + the mapping (by ref)
   return Result;
index ab9b7709d4b04d8c93be0c65067d99a08891d8c4..c36c08f9e777a5092e3259565016eed80f40487e 100644 (file)
@@ -158,9 +158,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
     return 0;
   }
 
-  // Remove trivial dead nodes... don't aggressively prune graph though... the
-  // graph is short lived anyway.
-  Result->removeTriviallyDeadNodes(false);
+  // Remove dead nodes... 
+  Result->removeDeadNodes();
 
   // Step #4: Return the clone + the mapping (by ref)
   return Result;