mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +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:
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();
|
||||
|
Loading…
Reference in New Issue
Block a user