From e85806f0d14be6a32b38474e7ce2d21be83673dd Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 22 Jul 2009 18:56:16 +0000 Subject: [PATCH] Fix thinko. llvm-svn: 76769 --- llvm/lib/Analysis/DebugInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index aa012ef8bcb8..f1ad08aefab9 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/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(); }