[llvm-commits] CVS: llvm/include/llvm/Analysis/DSSupport.h

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 1 16:13:01 PDT 2003


Changes in directory llvm/include/llvm/Analysis:

DSSupport.h updated: 1.19 -> 1.20

---
Log message:

Add new operator= impl


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DSSupport.h
diff -u llvm/include/llvm/Analysis/DSSupport.h:1.19 llvm/include/llvm/Analysis/DSSupport.h:1.20
--- llvm/include/llvm/Analysis/DSSupport.h:1.19	Tue Jul  1 12:15:11 2003
+++ llvm/include/llvm/Analysis/DSSupport.h	Tue Jul  1 16:11:59 2003
@@ -194,6 +194,15 @@
       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.





More information about the llvm-commits mailing list