diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-11 22:23:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-11 22:23:56 +0000 |
commit | 3ba8893af53468df2e775f8504e0ec13d889ce9e (patch) | |
tree | 74a4ed3905aba0b45964fb7516b6762321ca54f5 /lib/Analysis/DataStructure/IPModRef.cpp | |
parent | 0ecc42619f36195ab2a904622821833cdf323e8f (diff) |
Fix bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/IPModRef.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/IPModRef.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/IPModRef.cpp b/lib/Analysis/DataStructure/IPModRef.cpp index ab9b7709d4..c36c08f9e7 100644 --- a/lib/Analysis/DataStructure/IPModRef.cpp +++ b/lib/Analysis/DataStructure/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; |