aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index ac13159e30..6cb0b09f52 100644
--- a/lib/VMCore/Value.cpp
+++ b/lib/VMCore/Value.cpp
@@ -40,7 +40,7 @@ Value::~Value() {
<< **I << "\n";
}
#endif
- assert(Uses.begin() == Uses.end());
+ assert(Uses.begin() == Uses.end() &&"Uses remain when a value is destroyed!");
// There should be no uses of this object anymore, remove it.
LeakDetector::removeGarbageObject(this);