diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-02 03:41:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-02 03:41:24 +0000 |
commit | b00c582b6d40e6b9ff2d1ed4f5eaf7930e792ace (patch) | |
tree | 44b5f879c16e7ecb2e9334ad120e3454270e1bb3 /include/llvm/Function.h | |
parent | 1d87bcf4909b06dcd86320722653341f08b8b396 (diff) |
Commit more code over to new cast style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index f6c8aa214c..227ab53cd0 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -93,8 +93,8 @@ public: // Methods for support type inquiry through isa, cast, and dyn_cast: - static inline bool isa(const Method *T) { return true; } - static inline bool isa(const Value *V) { + static inline bool classof(const Method *T) { return true; } + static inline bool classof(const Value *V) { return V->getValueType() == Value::MethodVal; } |