diff options
| -rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index aa012ef8bcb..f1ad08aefab 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(); } |

