Change:
[oota-llvm.git] / lib / Support / ConstantRange.cpp
index b6f823465266caf50089eac58e70041e3c017f1c..c29cb53fb9c5d738cc3c0c19324005fe3cb4ad8f 100644 (file)
@@ -55,7 +55,7 @@ ConstantRange ConstantRange::makeICmpRegion(unsigned Pred,
 
   uint32_t W = CR.getBitWidth();
   switch (Pred) {
-    default: assert(!"Invalid ICmp predicate to makeICmpRegion()");
+    default: assert(0 && "Invalid ICmp predicate to makeICmpRegion()");
     case CmpInst::ICMP_EQ:
       return CR;
     case CmpInst::ICMP_NE: