git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-11-11 22:23:56 +00:00
parent 0ecc42619f
commit 3ba8893af5
2 changed files with 4 additions and 6 deletions

View File

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

View File

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