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