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:
parent
6d0553444b
commit
8b6107ebf2
@ -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...
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user