mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Add accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fac0ecabf1
commit
95ab3d4bc4
@ -22,6 +22,9 @@ public:
|
||||
CallSite(const CallSite &CS) : I(CS.I) {}
|
||||
CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; }
|
||||
|
||||
/// getInstruction - Return the instruction this call site corresponds to
|
||||
Instruction *getInstruction() const { return I; }
|
||||
|
||||
/// getCalledValue - Return the pointer to function that is being called...
|
||||
///
|
||||
Value *getCalledValue() const { return I->getOperand(0); }
|
||||
|
Loading…
Reference in New Issue
Block a user