Rename getCalledMethod to getCalledFunction
authorChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 17:08:01 +0000 (17:08 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 17:08:01 +0000 (17:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2042 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/iTerminators.h

index c414283f7ade9cbcb38a389182c8cca220110e7a..8feeac5e917b287b692e1f827fcdb3ca451ec3dc 100644 (file)
@@ -202,13 +202,13 @@ public:
 
   virtual Instruction *clone() const { return new InvokeInst(*this); }
 
-  // getCalledMethod - Return the method called, or null if this is an indirect
-  // method invocation...
+  // getCalledFunction - Return the function called, or null if this is an
+  // indirect function invocation...
   //
-  inline const Function *getCalledMethod() const {
+  inline const Function *getCalledFunction() const {
     return dyn_cast<Function>(Operands[0].get());
   }
-  inline Method *getCalledMethod() {
+  inline Method *getCalledFunction() {
     return dyn_cast<Method>(Operands[0].get());
   }