From 8584e40a86beac89a5ae8be9b98caa84cd8e32b4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 12 Apr 2002 18:19:45 +0000 Subject: [PATCH] Fix pure virtual function called exception! llvm-svn: 2229 --- lib/VMCore/Value.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index 7f28eb9d287..1309c566ad8 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -33,8 +33,7 @@ Value::~Value() { // a // 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();