mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
cosmetic change, in preparation of future change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1157,13 +1157,13 @@ public:
|
|||||||
/// indirect function invocation.
|
/// indirect function invocation.
|
||||||
///
|
///
|
||||||
Function *getCalledFunction() const {
|
Function *getCalledFunction() const {
|
||||||
return dyn_cast<Function>(getOperand(0));
|
return dyn_cast<Function>(Op<0>());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getCalledValue - Get a pointer to the function that is invoked by this
|
/// getCalledValue - Get a pointer to the function that is invoked by this
|
||||||
/// instruction
|
/// instruction
|
||||||
const Value *getCalledValue() const { return getOperand(0); }
|
const Value *getCalledValue() const { return Op<0>(); }
|
||||||
Value *getCalledValue() { return getOperand(0); }
|
Value *getCalledValue() { return Op<0>(); }
|
||||||
|
|
||||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||||
static inline bool classof(const CallInst *) { return true; }
|
static inline bool classof(const CallInst *) { return true; }
|
||||||
|
Reference in New Issue
Block a user