1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

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 c9d79fd15f
commit 8584e40a86

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();