From 1a0131b79885a906fc786943c30cd4b02cdcd594 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 22 Jul 2009 18:56:16 +0000 Subject: Fix thinko. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DebugInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis') diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index aa012ef..f1ad08a 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -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(); } -- cgit v1.1