1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-11 00:39:36 +00:00

Fix pure virtual function called exception!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-04-12 18:19:45 +00:00
parent f678dc6469
commit e7eaf17158

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