aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit87f856c793d77d7fe9abf5c693980b7e2a9b4755 (patch)
tree4a05dc71de5b12504b5b79930a143629bcf4c952 /include
parentb5085a7d04d395def75c0edcf340c6299d88b720 (diff)
downloadexternal_llvm-87f856c793d77d7fe9abf5c693980b7e2a9b4755.zip
external_llvm-87f856c793d77d7fe9abf5c693980b7e2a9b4755.tar.gz
external_llvm-87f856c793d77d7fe9abf5c693980b7e2a9b4755.tar.bz2
Rename getCalledMethod to getCalledFunction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/iTerminators.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/iTerminators.h b/include/llvm/iTerminators.h
index c414283..8feeac5 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<Function>(Operands[0].get());
}
- inline Method *getCalledMethod() {
+ inline Method *getCalledFunction() {
return dyn_cast<Method>(Operands[0].get());
}