Fix thinko.
[oota-llvm.git] / lib / Analysis / DebugInfo.cpp
index aa012ef8bcb8c36bdeaf76099d6166e3c40e3947..f1ad08aefab9591cf620089ac80746a2ec44840e 100644 (file)
@@ -213,7 +213,7 @@ void DIDerivedType::replaceAllUsesWith(DIDescriptor &D) {
   if (isNull())
     return;
 
-  assert (D.isNull() && "Can not replace with null");
+  assert (!D.isNull() && "Can not replace with null");
   getGV()->replaceAllUsesWith(D.getGV());
   getGV()->eraseFromParent();
 }