Add a more general check-flags which can be used to ensure arbitrary flags are set
[oota-llvm.git] / lib / Analysis / DataStructure / IPModRef.cpp
index a8aa6c2ec0f78c6aea2b424421cfb8db140759a8..86bddc8a8d9af1df51129094ee39172d4be2c760 100644 (file)
@@ -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);