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:
Chris Lattner 2002-03-29 17:07:34 +00:00
parent 9d89190434
commit b5085a7d04

View File

@ -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]; }