From b5085a7d04d395def75c0edcf340c6299d88b720 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 29 Mar 2002 17:07:34 +0000 Subject: [PATCH] Remove getCalledMethod. Use getCalledFunction instead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/iOther.h | 4 ---- 1 file changed, 4 deletions(-) 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]; }