mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Make CallSite's default constructable, copyable, and assignable (explicitly)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f25b7729c1
commit
ad110d2bb4
@ -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…
x
Reference in New Issue
Block a user