mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 10:57:32 +00:00
Use the default copy ctor and copy-assignment operators.
llvm-svn: 77793
This commit is contained in:
parent
512a0d9f42
commit
c4369ff556
@ -40,8 +40,6 @@ public:
|
||||
CallSite(CallInst *CI) : I(reinterpret_cast<Instruction*>(CI), true) {}
|
||||
CallSite(InvokeInst *II) : I(reinterpret_cast<Instruction*>(II), false) {}
|
||||
CallSite(Instruction *C);
|
||||
CallSite(const CallSite &CS) : I(CS.I) {}
|
||||
CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; }
|
||||
|
||||
bool operator==(const CallSite &CS) const { return I == CS.I; }
|
||||
bool operator!=(const CallSite &CS) const { return I != CS.I; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user