From: Chris Lattner Date: Fri, 29 Mar 2002 17:07:34 +0000 (+0000) Subject: Remove getCalledMethod. Use getCalledFunction instead X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b5085a7d04d395def75c0edcf340c6299d88b720;p=oota-llvm.git Remove getCalledMethod. Use getCalledFunction instead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h index 5100ac32ed7..a961eca83bd 100644 --- a/include/llvm/iOther.h +++ b/include/llvm/iOther.h @@ -95,10 +95,6 @@ public: return dyn_cast(Operands[0]); } - // FIXME: Remove getCalledMethod's - const Function*getCalledMethod()const{return dyn_cast(Operands[0]);} - Function *getCalledMethod() { return dyn_cast(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]; }