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);