mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Remove getCalledMethod. Use getCalledFunction instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d89190434
commit
b5085a7d04
@ -95,10 +95,6 @@ public:
|
||||
return dyn_cast<Function>(Operands[0]);
|
||||
}
|
||||
|
||||
// FIXME: Remove getCalledMethod's
|
||||
const Function*getCalledMethod()const{return dyn_cast<Function>(Operands[0]);}
|
||||
Function *getCalledMethod() { return dyn_cast<Function>(Operands[0]); }
|
||||
|
||||
// getCalledValue - Get a pointer to a method that is invoked by this inst.
|
||||
inline const Value *getCalledValue() const { return Operands[0]; }
|
||||
inline Value *getCalledValue() { return Operands[0]; }
|
||||
|
Loading…
Reference in New Issue
Block a user