* Incorporate the contents of SymTabValue into Function and Module
[oota-llvm.git] / lib / VMCore / Value.cpp
index ac9f7012ef17ccbb5e5f2dab2415d8bd113cc7a7..1309c566ad8b9408c9f610f5c20da8fa8b929a61 100644 (file)
@@ -4,7 +4,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/ValueHolderImpl.h"
 #include "llvm/InstrTypes.h"
 #include "llvm/SymbolTable.h"
 #include "llvm/SymTabValue.h"
@@ -34,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();