From a321b04d60e41d76d4d53a0e7afd4c2ea5c159ad Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 30 Jun 2003 03:14:54 +0000 Subject: [PATCH] Adjust for new DSGraph API git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6993 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/IPModRef.cpp | 2 +- lib/Analysis/IPA/IPModRef.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Analysis/DataStructure/IPModRef.cpp b/lib/Analysis/DataStructure/IPModRef.cpp index a8aa6c2ec0f..86bddc8a8d9 100644 --- a/lib/Analysis/DataStructure/IPModRef.cpp +++ b/lib/Analysis/DataStructure/IPModRef.cpp @@ -166,7 +166,7 @@ DSGraph* FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI, // Perform the merging now of the graph for the callee, which will // come with mod/ref bits set... - Result->mergeInGraph(CS, IPModRefObj.getBUDSGraph(*F), + Result->mergeInGraph(CS, *F, IPModRefObj.getBUDSGraph(*F), DSGraph::StripAllocaBit | DSGraph::DontCloneCallNodes | DSGraph::DontCloneAuxCallNodes); diff --git a/lib/Analysis/IPA/IPModRef.cpp b/lib/Analysis/IPA/IPModRef.cpp index a8aa6c2ec0f..86bddc8a8d9 100644 --- a/lib/Analysis/IPA/IPModRef.cpp +++ b/lib/Analysis/IPA/IPModRef.cpp @@ -166,7 +166,7 @@ DSGraph* FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI, // Perform the merging now of the graph for the callee, which will // come with mod/ref bits set... - Result->mergeInGraph(CS, IPModRefObj.getBUDSGraph(*F), + Result->mergeInGraph(CS, *F, IPModRefObj.getBUDSGraph(*F), DSGraph::StripAllocaBit | DSGraph::DontCloneCallNodes | DSGraph::DontCloneAuxCallNodes);