mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Add new operator= impl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7047 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5fd60913da
commit
b512b24442
@ -194,6 +194,15 @@ public:
|
||||
InitNH(CallArgs[i], FromCall.CallArgs[i], NodeMap);
|
||||
}
|
||||
|
||||
const DSCallSite &operator=(const DSCallSite &RHS) {
|
||||
Inst = RHS.Inst;
|
||||
CalleeF = RHS.CalleeF;
|
||||
CalleeN = RHS.CalleeN;
|
||||
RetVal = RHS.RetVal;
|
||||
CallArgs = RHS.CallArgs;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// isDirectCall - Return true if this call site is a direct call of the
|
||||
/// function specified by getCalleeFunc. If not, it is an indirect call to
|
||||
/// the node specified by getCalleeNode.
|
||||
|
@ -194,6 +194,15 @@ public:
|
||||
InitNH(CallArgs[i], FromCall.CallArgs[i], NodeMap);
|
||||
}
|
||||
|
||||
const DSCallSite &operator=(const DSCallSite &RHS) {
|
||||
Inst = RHS.Inst;
|
||||
CalleeF = RHS.CalleeF;
|
||||
CalleeN = RHS.CalleeN;
|
||||
RetVal = RHS.RetVal;
|
||||
CallArgs = RHS.CallArgs;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// isDirectCall - Return true if this call site is a direct call of the
|
||||
/// function specified by getCalleeFunc. If not, it is an indirect call to
|
||||
/// the node specified by getCalleeNode.
|
||||
|
Loading…
x
Reference in New Issue
Block a user