llvm.org GIT mirror llvm / e3d19aa
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 Reid Spencer 16 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8686 // Methods for support type inquiry through isa, cast, and dyn_cast:
8787 static inline bool classof(const User *) { return true; }
8888 static inline bool classof(const Value *V) {
89 return isa(V) || isa(V) ||
90 isa(V);
89 return isa(V) || isa(V);
9190 }
9291 };
9392