From: Chris Lattner Date: Fri, 29 Mar 2002 17:08:01 +0000 (+0000) Subject: Rename getCalledMethod to getCalledFunction X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=87f856c793d77d7fe9abf5c693980b7e2a9b4755;p=oota-llvm.git Rename getCalledMethod to getCalledFunction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2042 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/iTerminators.h b/include/llvm/iTerminators.h index c414283f7ad..8feeac5e917 100644 --- a/include/llvm/iTerminators.h +++ b/include/llvm/iTerminators.h @@ -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(Operands[0].get()); } - inline Method *getCalledMethod() { + inline Method *getCalledFunction() { return dyn_cast(Operands[0].get()); }