[llvm-commits] CVS: llvm/include/llvm/Support/CallSite.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Jun 17 14:51:01 PDT 2003
Changes in directory llvm/include/llvm/Support:
CallSite.h updated: 1.1 -> 1.2
---
Log message:
Make CallSite's default constructable, copyable, and assignable (explicitly)
---
Diffs of the changes:
Index: llvm/include/llvm/Support/CallSite.h
diff -u llvm/include/llvm/Support/CallSite.h:1.1 llvm/include/llvm/Support/CallSite.h:1.2
--- llvm/include/llvm/Support/CallSite.h:1.1 Mon Feb 24 14:35:45 2003
+++ llvm/include/llvm/Support/CallSite.h Tue Jun 17 14:50:28 2003
@@ -16,8 +16,11 @@
class CallSite {
Instruction *I;
public:
+ CallSite() : I(0) {}
CallSite(CallInst *CI) : I((Instruction*)CI) {}
CallSite(InvokeInst *II) : I((Instruction*)II) {}
+ CallSite(const CallSite &CS) : I(CS.I) {}
+ CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; }
/// getCalledValue - Return the pointer to function that is being called...
///
More information about the llvm-commits
mailing list