Fix thinko.
authorDevang Patel <dpatel@apple.com>
Wed, 22 Jul 2009 18:56:16 +0000 (18:56 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 22 Jul 2009 18:56:16 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769 91177308-0d34-0410-b5e6-96231b3b80d8

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();
 }