summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-29 17:08:01 +0000
committerChris Lattner <sabre@nondot.org>2002-03-29 17:08:01 +0000
commitadbb711895d9a140a90156b791a5cf3da21fb723 (patch)
treef5fc76aa765389050498ab3e28e069405fd65f2e
parentb388895b0a18d2a2b8b1fde3ece922d32b2fd6ac (diff)
downloadbcm5719-llvm-adbb711895d9a140a90156b791a5cf3da21fb723.tar.gz
bcm5719-llvm-adbb711895d9a140a90156b791a5cf3da21fb723.zip
Rename getCalledMethod to getCalledFunction
llvm-svn: 2042
-rw-r--r--llvm/include/llvm/iTerminators.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/iTerminators.h b/llvm/include/llvm/iTerminators.h
index c414283f7ad..8feeac5e917 100644
--- a/llvm/include/llvm/iTerminators.h
+++ b/llvm/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<Function>(Operands[0].get());
}
- inline Method *getCalledMethod() {
+ inline Method *getCalledFunction() {
return dyn_cast<Method>(Operands[0].get());
}
OpenPOWER on IntegriCloud