projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d89190
)
Remove getCalledMethod. Use getCalledFunction instead
author
Chris Lattner
<sabre@nondot.org>
Fri, 29 Mar 2002 17:07:34 +0000
(17:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 29 Mar 2002 17:07:34 +0000
(17:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/iOther.h
patch
|
blob
|
history
diff --git
a/include/llvm/iOther.h
b/include/llvm/iOther.h
index 5100ac32ed748953f1944161cb728e465a865379..a961eca83bd9777d9f082ffcf70ddc1bb85f8cf7 100644
(file)
--- 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]; }