diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index ac13159e30a..6cb0b09f520 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);