aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/DataStructure/IPModRef.cpp4
-rw-r--r--lib/Analysis/IPA/IPModRef.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/IPModRef.cpp b/lib/Analysis/DataStructure/IPModRef.cpp
index 754b86b74b..64b60d48ba 100644
--- a/lib/Analysis/DataStructure/IPModRef.cpp
+++ b/lib/Analysis/DataStructure/IPModRef.cpp
@@ -167,11 +167,11 @@ DSGraph* FunctionModRefInfo::ResolveCallSiteModRefInfo(CallSite CS,
Args.push_back(Result->getNodeForValue(*I));
// Build the call site...
- DSCallSite CS(CS, RetVal, F, Args);
+ DSCallSite NCS(CS, RetVal, F, Args);
// Perform the merging now of the graph for the callee, which will
// come with mod/ref bits set...
- Result->mergeInGraph(CS, *F, IPModRefObj.getBUDSGraph(*F),
+ Result->mergeInGraph(NCS, *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 754b86b74b..64b60d48ba 100644
--- a/lib/Analysis/IPA/IPModRef.cpp
+++ b/lib/Analysis/IPA/IPModRef.cpp
@@ -167,11 +167,11 @@ DSGraph* FunctionModRefInfo::ResolveCallSiteModRefInfo(CallSite CS,
Args.push_back(Result->getNodeForValue(*I));
// Build the call site...
- DSCallSite CS(CS, RetVal, F, Args);
+ DSCallSite NCS(CS, RetVal, F, Args);
// Perform the merging now of the graph for the callee, which will
// come with mod/ref bits set...
- Result->mergeInGraph(CS, *F, IPModRefObj.getBUDSGraph(*F),
+ Result->mergeInGraph(NCS, *F, IPModRefObj.getBUDSGraph(*F),
DSGraph::StripAllocaBit
| DSGraph::DontCloneCallNodes
| DSGraph::DontCloneAuxCallNodes);