From 1aeca4d0e60f40e297530e9a59c66c1062440dfa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 11 Nov 2002 22:23:56 +0000 Subject: Fix bug llvm-svn: 4697 --- llvm/lib/Analysis/IPA/IPModRef.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Analysis/IPA/IPModRef.cpp') diff --git a/llvm/lib/Analysis/IPA/IPModRef.cpp b/llvm/lib/Analysis/IPA/IPModRef.cpp index ab9b7709d4b..c36c08f9e77 100644 --- a/llvm/lib/Analysis/IPA/IPModRef.cpp +++ b/llvm/lib/Analysis/IPA/IPModRef.cpp @@ -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; -- cgit v1.2.3