From: Vladimir Prus Date: Mon, 29 May 2006 12:45:15 +0000 (+0000) Subject: Fix compile error when DEBUG_SYMBOL_TABLE is defined. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6ba568fabb3ec4ea75e8fae86e14c629d31166c8;p=oota-llvm.git Fix compile error when DEBUG_SYMBOL_TABLE is defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28537 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index 3ac8ddfc6ad..d82c44f2ece 100644 --- a/lib/VMCore/SymbolTable.cpp +++ b/lib/VMCore/SymbolTable.cpp @@ -21,7 +21,7 @@ using namespace llvm; -#define DEBUG_SYMBOL_TABLE 0 +#define DEBUG_SYMBOL_TABLE 1 #define DEBUG_ABSTYPE 0 SymbolTable::~SymbolTable() { @@ -167,7 +167,7 @@ Type* SymbolTable::remove(type_iterator Entry) { #if DEBUG_SYMBOL_TABLE dump(); - std::cerr << " Removing Value: " << Result->getName() << "\n"; + std::cerr << " Removing type: " << Entry->first << "\n"; #endif tmap.erase(Entry);