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