diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-24 22:20:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-24 22:20:19 +0000 |
commit | a89ab2c35548fb05c9b4df48c60539886568116d (patch) | |
tree | 44433f961f0fa34c330e0a6bd47df20e7cea95a8 | |
parent | 6932f6b6060460f012d302dc566db5ea8c9a789d (diff) |
Make assertion more descriptive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6889 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Value.cpp | 2 |
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); |