mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Use the default copy ctor and copy-assignment operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f9b69f345
commit
7aeff084a4
@ -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