forked from OSchip/llvm-project
parent
eb10d4cbce
commit
1aeca4d0e6
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue