From: Scott Michel Date: Sun, 23 Nov 2008 19:22:48 +0000 (+0000) Subject: Roll back rev 59890, since Chris says this can never happen. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2cd91804ec4d631cc432dac2828d8ee0b1a3390f;p=oota-llvm.git Roll back rev 59890, since Chris says this can never happen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59914 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index c441626216f..48988f8a6bb 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/Support/Casting.h @@ -98,7 +98,7 @@ template struct isa_impl_cl { template static bool isa(FromCl *Val) { - return (Val != 0 && isa_impl_cl::template isa(*Val)); + return isa_impl_cl::template isa(*Val); } };