summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/DSSupport.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DSSupport.h b/llvm/include/llvm/Analysis/DSSupport.h
index 3f680af4b2f..7ba9b0c43ca 100644
--- a/llvm/include/llvm/Analysis/DSSupport.h
+++ b/llvm/include/llvm/Analysis/DSSupport.h
@@ -194,6 +194,15 @@ public:
InitNH(CallArgs[i], FromCall.CallArgs[i], NodeMap);
}
+ const DSCallSite &operator=(const DSCallSite &RHS) {
+ Inst = RHS.Inst;
+ CalleeF = RHS.CalleeF;
+ CalleeN = RHS.CalleeN;
+ RetVal = RHS.RetVal;
+ CallArgs = RHS.CallArgs;
+ return *this;
+ }
+
/// isDirectCall - Return true if this call site is a direct call of the
/// function specified by getCalleeFunc. If not, it is an indirect call to
/// the node specified by getCalleeNode.
OpenPOWER on IntegriCloud