[llvm-commits] [llvm] r76769 - /llvm/trunk/lib/Analysis/DebugInfo.cpp

Devang Patel dpatel at apple.com
Wed Jul 22 11:56:17 PDT 2009


Author: dpatel
Date: Wed Jul 22 13:56:16 2009
New Revision: 76769

URL: http://llvm.org/viewvc/llvm-project?rev=76769&view=rev
Log:
Fix thinko.

Modified:
    llvm/trunk/lib/Analysis/DebugInfo.cpp

Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=76769&r1=76768&r2=76769&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Wed Jul 22 13:56:16 2009
@@ -213,7 +213,7 @@
   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();
 }





More information about the llvm-commits mailing list