Fix pure virtual function called exception!
llvm-svn: 2229
This commit is contained in:
parent
0b32d0d511
commit
6fc8c2374a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue