mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Rename getCalledMethod to getCalledFunction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5085a7d04
commit
87f856c793
@ -202,13 +202,13 @@ public:
|
||||
|
||||
virtual Instruction *clone() const { return new InvokeInst(*this); }
|
||||
|
||||
// getCalledMethod - Return the method called, or null if this is an indirect
|
||||
// method invocation...
|
||||
// getCalledFunction - Return the function called, or null if this is an
|
||||
// indirect function invocation...
|
||||
//
|
||||
inline const Function *getCalledMethod() const {
|
||||
inline const Function *getCalledFunction() const {
|
||||
return dyn_cast<Function>(Operands[0].get());
|
||||
}
|
||||
inline Method *getCalledMethod() {
|
||||
inline Method *getCalledFunction() {
|
||||
return dyn_cast<Method>(Operands[0].get());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user