From e3d19aac69bace9eda1620acf5ecfa6c07efd4a6 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 17 Jul 2004 23:32:11 +0000 Subject: bug 122: Remove redundancy in User::classof(Value*); GlobalValue isa Constant now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14924 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/User.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/llvm/User.h') diff --git a/include/llvm/User.h b/include/llvm/User.h index 310d356..bd3eb58 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -87,8 +87,7 @@ public: // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const User *) { return true; } static inline bool classof(const Value *V) { - return isa(V) || isa(V) || - isa(V); + return isa(V) || isa(V); } }; -- cgit v1.1