diff options
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r-- | include/llvm/Value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 1acf2e2..5716d29 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -185,7 +185,7 @@ template <class X> class real_type <class UseTy<X> > { typedef X *Type; }; // if (isa<Type>(myVal)) { ... } // template <class X, class Y> -inline bool isa(Y Val) { return X::isa(Val); } +inline bool isa(Y Val) { return X::classof(Val); } // cast<X> - Return the argument parameter cast to the specified type. This |