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)
llvm-svn: 76769

llvm/lib/Analysis/DebugInfo.cpp

index aa012ef..f1ad08a 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();
 }