aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/iOther.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-29 17:07:34 +0000
committerChris Lattner <sabre@nondot.org>2002-03-29 17:07:34 +0000
commitb5085a7d04d395def75c0edcf340c6299d88b720 (patch)
tree58fe4a604de4e5bb548ed2f871c1986f30223642 /include/llvm/iOther.h
parent9d891904342c50af4d859866823382f03bdd9cb5 (diff)
downloadexternal_llvm-b5085a7d04d395def75c0edcf340c6299d88b720.zip
external_llvm-b5085a7d04d395def75c0edcf340c6299d88b720.tar.gz
external_llvm-b5085a7d04d395def75c0edcf340c6299d88b720.tar.bz2
Remove getCalledMethod. Use getCalledFunction instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/iOther.h')
-rw-r--r--include/llvm/iOther.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h
index 5100ac3..a961eca 100644
--- a/include/llvm/iOther.h
+++ b/include/llvm/iOther.h
@@ -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]; }