Fix pure virtual function called exception!

llvm-svn: 2229
This commit is contained in:
Chris Lattner 2002-04-12 18:19:45 +00:00
parent 0b32d0d511
commit 6fc8c2374a
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ Value::~Value() {
// a <badref>
//
if (Uses.begin() != Uses.end()) {
std::cerr << "While deleting: ";
dump();
std::cerr << "While deleting: " << Ty << "%" << Name << "\n";
for (use_const_iterator I = Uses.begin(); I != Uses.end(); ++I) {
std::cerr << "Use still stuck around after Def is destroyed:";
(*I)->dump();