diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-01-23 22:06:33 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-01-23 22:06:33 +0000 |
| commit | 38c5e417a7eb70aa4f7e43824795cf6cfbce94d1 (patch) | |
| tree | d134c6c2b18ce57cb3f07063b29f47e14b74f5ce /llvm/lib/Analysis/IPA/IPModRef.cpp | |
| parent | a1d9011d6ed1ccf92ba8380bde0bdef65d893ba9 (diff) | |
| download | bcm5719-llvm-38c5e417a7eb70aa4f7e43824795cf6cfbce94d1.tar.gz bcm5719-llvm-38c5e417a7eb70aa4f7e43824795cf6cfbce94d1.zip | |
* Eliminate boolean arguments in favor of using enums
llvm-svn: 5420
Diffstat (limited to 'llvm/lib/Analysis/IPA/IPModRef.cpp')
| -rw-r--r-- | llvm/lib/Analysis/IPA/IPModRef.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IPA/IPModRef.cpp b/llvm/lib/Analysis/IPA/IPModRef.cpp index 8c507e9323a..48452fe8b16 100644 --- a/llvm/lib/Analysis/IPA/IPModRef.cpp +++ b/llvm/lib/Analysis/IPA/IPModRef.cpp @@ -175,7 +175,7 @@ DSGraph* FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI, assert(0 && "See error message"); // Remove dead nodes aggressively to match the caller's original graph. - Result->removeDeadNodes(); + Result->removeDeadNodes(DSGraph::KeepUnreachableGlobals); // Step #4: Return the clone + the mapping (by ref) return Result; @@ -393,7 +393,7 @@ FunctionModRefInfo& IPModRef::getFuncInfo(const Function& func, // The memory for this graph clone will be freed by FunctionModRefInfo. DSGraph* funcTDGraph = new DSGraph(getAnalysis<TDDataStructures>().getDSGraph(func)); - funcTDGraph->removeDeadNodes(); + funcTDGraph->removeDeadNodes(DSGraph::KeepUnreachableGlobals); funcInfo = new FunctionModRefInfo(func, *this, funcTDGraph); //auto-insert funcInfo->computeModRef(func); // computes the mod/ref info |

