1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Make CallSite's default constructable, copyable, and assignable (explicitly)

llvm-svn: 6749
This commit is contained in:
Chris Lattner 2003-06-17 19:50:28 +00:00
parent 6d0553444b
commit 8b6107ebf2

View File

@ -16,8 +16,11 @@ class InvokeInst;
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...
///