Remove getCalledMethod. Use getCalledFunction instead
authorChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 17:07:34 +0000 (17:07 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 17:07:34 +0000 (17:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/iOther.h

index 5100ac32ed748953f1944161cb728e465a865379..a961eca83bd9777d9f082ffcf70ddc1bb85f8cf7 100644 (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]; }