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 | 1aeca4d0e60f40e297530e9a59c66c1062440dfa (patch) | |
tree | deb1e315b153665d415cd4fd1a504f02a0974f94 | |
parent | eb10d4cbcef76df03ececd98355d1f3220862018 (diff) | |
download | bcm5719-llvm-1aeca4d0e60f40e297530e9a59c66c1062440dfa.tar.gz bcm5719-llvm-1aeca4d0e60f40e297530e9a59c66c1062440dfa.zip |
Fix bug
llvm-svn: 4697
-rw-r--r-- | llvm/lib/Analysis/IPA/IPModRef.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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; |