mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Make assertion more descriptive
llvm-svn: 6889
This commit is contained in:
parent
8e92c2a5be
commit
ade75cea50
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user