Change:
[oota-llvm.git] / lib / VMCore / Constants.cpp
index ba309d9ca0714a96a6e11a4ad13ec65e152ab0e4..a84a046bb9981e67f25b540247cfc51ca53e14db 100644 (file)
@@ -105,7 +105,7 @@ Constant *Constant::getNullValue(Type *Ty) {
     return ConstantAggregateZero::get(Ty);
   default:
     // Function, Label, or Opaque type?
-    assert(!"Cannot create a null constant of that type!");
+    assert(0 && "Cannot create a null constant of that type!");
     return 0;
   }
 }