Reapply my previous asmprinter changes now with more testing and two
[oota-llvm.git] / include / llvm / Support / Casting.h
index c441626216f16b92dccb57dcee66f7802a01ad2c..48988f8a6bb8354c71326e634364acbb2895b4b2 100644 (file)
@@ -98,7 +98,7 @@ template<class FromCl>
 struct isa_impl_cl<FromCl*> {
   template<class ToCl>
   static bool isa(FromCl *Val) {
-    return (Val != 0 && isa_impl_cl<FromCl>::template isa<ToCl>(*Val));
+    return isa_impl_cl<FromCl>::template isa<ToCl>(*Val);
   }
 };